diff options
author | 2017-05-30 09:56:41 -0700 | |
---|---|---|
committer | 2017-05-30 14:15:50 -0700 | |
commit | deae7db5864fa50c5a1cd6c232a17aeb986b36e1 (patch) | |
tree | cdedad3d0f921e4f82fa7b65d55820455b7ac0ea | |
parent | 8d01c3708c4becb186979ed9377aed0fc2954d06 (diff) |
ART: Add missing namespace comments
Add closing namespace comments.
Bug: 32619234
Test: m
Change-Id: I1f50e09dcd1038c4b540b87e5c19e319c1f592e4
-rw-r--r-- | compiler/compiler.h | 4 | ||||
-rw-r--r-- | compiler/debug/elf_debug_writer.h | 2 | ||||
-rw-r--r-- | compiler/driver/compiler_options.h | 2 | ||||
-rw-r--r-- | compiler/optimizing/intrinsics_arm64.h | 3 | ||||
-rw-r--r-- | compiler/utils/label.h | 12 | ||||
-rw-r--r-- | compiler/utils/managed_register.h | 12 | ||||
-rw-r--r-- | runtime/arch/memcmp16.cc | 2 | ||||
-rw-r--r-- | runtime/arch/memcmp16.h | 2 | ||||
-rw-r--r-- | runtime/gc/allocation_listener.h | 2 | ||||
-rw-r--r-- | runtime/gc/allocation_record.h | 2 | ||||
-rw-r--r-- | runtime/handle_scope.h | 2 | ||||
-rw-r--r-- | runtime/jit/profiling_info.h | 4 | ||||
-rw-r--r-- | runtime/method_handles.h | 2 | ||||
-rw-r--r-- | runtime/openjdkjvmti/ti_thread.h | 2 | ||||
-rw-r--r-- | runtime/thread_list.h | 2 | ||||
-rw-r--r-- | runtime/transaction.h | 2 | ||||
-rw-r--r-- | runtime/verifier/verifier_deps.h | 2 |
17 files changed, 30 insertions, 29 deletions
diff --git a/compiler/compiler.h b/compiler/compiler.h index 908d3669ed..cd4c59101e 100644 --- a/compiler/compiler.h +++ b/compiler/compiler.h @@ -25,11 +25,11 @@ namespace art { namespace jit { class JitCodeCache; -} +} // namespace jit namespace mirror { class ClassLoader; class DexCache; -} +} // namespace mirror class ArtMethod; class CompilerDriver; diff --git a/compiler/debug/elf_debug_writer.h b/compiler/debug/elf_debug_writer.h index 07f7229827..5d688108e7 100644 --- a/compiler/debug/elf_debug_writer.h +++ b/compiler/debug/elf_debug_writer.h @@ -29,7 +29,7 @@ namespace art { class OatHeader; namespace mirror { class Class; -} +} // namespace mirror namespace debug { struct MethodDebugInfo; diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h index 5a8202159e..89c2537476 100644 --- a/compiler/driver/compiler_options.h +++ b/compiler/driver/compiler_options.h @@ -31,7 +31,7 @@ namespace art { namespace verifier { class VerifierDepsTest; -} +} // namespace verifier class DexFile; diff --git a/compiler/optimizing/intrinsics_arm64.h b/compiler/optimizing/intrinsics_arm64.h index 3c53517b28..ff59ce9658 100644 --- a/compiler/optimizing/intrinsics_arm64.h +++ b/compiler/optimizing/intrinsics_arm64.h @@ -24,7 +24,8 @@ namespace aarch64 { class MacroAssembler; -}} // namespace vixl::aarch64 +} // namespace aarch64 +} // namespace vixl namespace art { diff --git a/compiler/utils/label.h b/compiler/utils/label.h index 0f82ad5ff1..4c6ae8e218 100644 --- a/compiler/utils/label.h +++ b/compiler/utils/label.h @@ -29,24 +29,24 @@ class AssemblerFixup; namespace arm { class ArmAssembler; class Thumb2Assembler; -} +} // namespace arm namespace arm64 { class Arm64Assembler; -} +} // namespace arm64 namespace mips { class MipsAssembler; -} +} // namespace mips namespace mips64 { class Mips64Assembler; -} +} // namespace mips64 namespace x86 { class X86Assembler; class NearLabel; -} +} // namespace x86 namespace x86_64 { class X86_64Assembler; class NearLabel; -} +} // namespace x86_64 class ExternalLabel { public: diff --git a/compiler/utils/managed_register.h b/compiler/utils/managed_register.h index 184cdf5050..2b7b2aa7ce 100644 --- a/compiler/utils/managed_register.h +++ b/compiler/utils/managed_register.h @@ -26,24 +26,24 @@ namespace art { namespace arm { class ArmManagedRegister; -} +} // namespace arm namespace arm64 { class Arm64ManagedRegister; -} +} // namespace arm64 namespace mips { class MipsManagedRegister; -} +} // namespace mips namespace mips64 { class Mips64ManagedRegister; -} +} // namespace mips64 namespace x86 { class X86ManagedRegister; -} +} // namespace x86 namespace x86_64 { class X86_64ManagedRegister; -} +} // namespace x86_64 class ManagedRegister : public ValueObject { public: diff --git a/runtime/arch/memcmp16.cc b/runtime/arch/memcmp16.cc index 813df2f1d7..e714cfc18d 100644 --- a/runtime/arch/memcmp16.cc +++ b/runtime/arch/memcmp16.cc @@ -37,7 +37,7 @@ int32_t MemCmp16Testing(const uint16_t* s0, const uint16_t* s1, size_t count) { return MemCmp16(s0, s1, count); } -} +} // namespace testing } // namespace art diff --git a/runtime/arch/memcmp16.h b/runtime/arch/memcmp16.h index c449a14b54..b051a1ccab 100644 --- a/runtime/arch/memcmp16.h +++ b/runtime/arch/memcmp16.h @@ -59,7 +59,7 @@ namespace testing { // implementation. int32_t MemCmp16Testing(const uint16_t* s0, const uint16_t* s1, size_t count); -} +} // namespace testing } // namespace art diff --git a/runtime/gc/allocation_listener.h b/runtime/gc/allocation_listener.h index f60bc0c834..d694a68b9c 100644 --- a/runtime/gc/allocation_listener.h +++ b/runtime/gc/allocation_listener.h @@ -30,7 +30,7 @@ namespace art { namespace mirror { class Object; -} +} // namespace mirror class Thread; diff --git a/runtime/gc/allocation_record.h b/runtime/gc/allocation_record.h index 90cff6a8c4..227c7ad28c 100644 --- a/runtime/gc/allocation_record.h +++ b/runtime/gc/allocation_record.h @@ -33,7 +33,7 @@ class Thread; namespace mirror { class Class; class Object; -} +} // namespace mirror namespace gc { diff --git a/runtime/handle_scope.h b/runtime/handle_scope.h index c43a482fa1..f248a118e9 100644 --- a/runtime/handle_scope.h +++ b/runtime/handle_scope.h @@ -36,7 +36,7 @@ class VariableSizedHandleScope; namespace mirror { class Object; -} +} // namespace mirror // Basic handle scope, tracked by a list. May be variable sized. class PACKED(4) BaseHandleScope { diff --git a/runtime/jit/profiling_info.h b/runtime/jit/profiling_info.h index d6881aa3f4..788fa1f92b 100644 --- a/runtime/jit/profiling_info.h +++ b/runtime/jit/profiling_info.h @@ -29,11 +29,11 @@ class ProfilingInfo; namespace jit { class JitCodeCache; -} +} // namespace jit namespace mirror { class Class; -} +} // namespace mirror // Structure to store the classes seen at runtime for a specific instruction. // Once the classes_ array is full, we consider the INVOKE to be megamorphic. diff --git a/runtime/method_handles.h b/runtime/method_handles.h index 5bea0ab5cd..e8a2dce42e 100644 --- a/runtime/method_handles.h +++ b/runtime/method_handles.h @@ -29,7 +29,7 @@ namespace art { namespace mirror { class MethodHandle; class MethodType; -} // mirror +} // namespace mirror class ShadowFrame; diff --git a/runtime/openjdkjvmti/ti_thread.h b/runtime/openjdkjvmti/ti_thread.h index c7f75d8aec..939aea7a29 100644 --- a/runtime/openjdkjvmti/ti_thread.h +++ b/runtime/openjdkjvmti/ti_thread.h @@ -37,7 +37,7 @@ namespace art { class ArtField; -} +} // namespace art namespace openjdkjvmti { diff --git a/runtime/thread_list.h b/runtime/thread_list.h index 337574603b..0ce1d78382 100644 --- a/runtime/thread_list.h +++ b/runtime/thread_list.h @@ -34,7 +34,7 @@ namespace art { namespace gc { namespace collector { class GarbageCollector; - } // namespac collector + } // namespace collector class GcPauseListener; } // namespace gc class Closure; diff --git a/runtime/transaction.h b/runtime/transaction.h index 0333fe8db4..921de03754 100644 --- a/runtime/transaction.h +++ b/runtime/transaction.h @@ -36,7 +36,7 @@ class Array; class DexCache; class Object; class String; -} +} // namespace mirror class InternTable; class Transaction FINAL { diff --git a/runtime/verifier/verifier_deps.h b/runtime/verifier/verifier_deps.h index d69e4dcff4..70ce0c4a29 100644 --- a/runtime/verifier/verifier_deps.h +++ b/runtime/verifier/verifier_deps.h @@ -39,7 +39,7 @@ class VariableIndentationOutputStream; namespace mirror { class Class; class ClassLoader; -} +} // namespace mirror namespace verifier { |