[llvm] r240271 - Fixed/added namespace ending comments using clang-tidy. NFC

Alexander Kornienko alexfh at google.com
Mon Jun 22 02:57:55 PDT 2015


Author: alexfh
Date: Mon Jun 22 04:57:54 2015
New Revision: 240271

URL: http://llvm.org/viewvc/llvm-project?rev=240271&view=rev
Log:
Fixed/added namespace ending comments using clang-tidy. NFC

A few more files that were fixed while preparing r240270.

Modified:
    llvm/trunk/include/llvm/ADT/ImmutableList.h
    llvm/trunk/include/llvm/ADT/PackedVector.h
    llvm/trunk/include/llvm/LinkAllPasses.h
    llvm/trunk/utils/unittest/googletest/include/gtest/internal/gtest-internal.h

Modified: llvm/trunk/include/llvm/ADT/ImmutableList.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/ImmutableList.h?rev=240271&r1=240270&r2=240271&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/ImmutableList.h (original)
+++ llvm/trunk/include/llvm/ADT/ImmutableList.h Mon Jun 22 04:57:54 2015
@@ -224,6 +224,6 @@ template <typename T> struct isPodLike;
 template <typename T>
 struct isPodLike<ImmutableList<T> > { static const bool value = true; };
 
-} // end llvm namespace
+} // namespace llvm
 
 #endif

Modified: llvm/trunk/include/llvm/ADT/PackedVector.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/PackedVector.h?rev=240271&r1=240270&r2=240271&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/PackedVector.h (original)
+++ llvm/trunk/include/llvm/ADT/PackedVector.h Mon Jun 22 04:57:54 2015
@@ -154,6 +154,6 @@ public:
 template <typename T>
 class PackedVector<T, 0>;
 
-} // end llvm namespace
+} // namespace llvm
 
 #endif

Modified: llvm/trunk/include/llvm/LinkAllPasses.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/LinkAllPasses.h?rev=240271&r1=240270&r2=240271&view=diff
==============================================================================
--- llvm/trunk/include/llvm/LinkAllPasses.h (original)
+++ llvm/trunk/include/llvm/LinkAllPasses.h Mon Jun 22 04:57:54 2015
@@ -188,6 +188,6 @@ namespace {
       (void) llvm::sys::RunningOnValgrind();
     }
   } ForcePassLinking; // Force link by creating a global definition.
-}
+} // namespace
 
 #endif

Modified: llvm/trunk/utils/unittest/googletest/include/gtest/internal/gtest-internal.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/unittest/googletest/include/gtest/internal/gtest-internal.h?rev=240271&r1=240270&r2=240271&view=diff
==============================================================================
--- llvm/trunk/utils/unittest/googletest/include/gtest/internal/gtest-internal.h (original)
+++ llvm/trunk/utils/unittest/googletest/include/gtest/internal/gtest-internal.h Mon Jun 22 04:57:54 2015
@@ -113,7 +113,7 @@ public:
     : std::ostream(os.rdbuf()), ros_(*this) {}
   operator raw_ostream&() { return ros_; }
 };
-}
+} // namespace llvm
 template <typename T>
 inline void GTestStreamToHelper(std::ostream* os, const T& val) {
   llvm::convertible_fwd_ostream cos(*os);





More information about the llvm-commits mailing list