[llvm] r211406 - Support: Mark end of namespaces

Duncan P. N. Exon Smith dexonsmith at apple.com
Fri Jun 20 14:43:21 PDT 2014


Author: dexonsmith
Date: Fri Jun 20 16:43:20 2014
New Revision: 211406

URL: http://llvm.org/viewvc/llvm-project?rev=211406&view=rev
Log:
Support: Mark end of namespaces

This convinces clang-format to leave a newline.

Modified:
    llvm/trunk/include/llvm/Support/ScaledNumber.h
    llvm/trunk/unittests/Support/ScaledNumberTest.cpp

Modified: llvm/trunk/include/llvm/Support/ScaledNumber.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/ScaledNumber.h?rev=211406&r1=211405&r2=211406&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/ScaledNumber.h (original)
+++ llvm/trunk/include/llvm/Support/ScaledNumber.h Fri Jun 20 16:43:20 2014
@@ -97,8 +97,9 @@ inline std::pair<uint64_t, int16_t> getA
                                                   int16_t Scale = 0) {
   return getAdjusted<uint64_t>(Digits, Scale);
 }
-}
-}
+
+} // end namespace ScaledNumbers
+} // end namespace llvm
 
 #endif
 

Modified: llvm/trunk/unittests/Support/ScaledNumberTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Support/ScaledNumberTest.cpp?rev=211406&r1=211405&r2=211406&view=diff
==============================================================================
--- llvm/trunk/unittests/Support/ScaledNumberTest.cpp (original)
+++ llvm/trunk/unittests/Support/ScaledNumberTest.cpp Fri Jun 20 16:43:20 2014
@@ -78,4 +78,5 @@ TEST(FloatsTest, getAdjusted) {
   EXPECT_EQ(getAdjusted64(Max32In64 + 1), SP64(Max32In64 + 1, 0));
   EXPECT_EQ(getAdjusted64(UINT64_MAX), SP64(UINT64_MAX, 0));
 }
-}
+
+} // end namespace





More information about the llvm-commits mailing list