]> granicus.if.org Git - llvm/commitdiff
Support: Mark end of namespaces
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 20 Jun 2014 21:43:20 +0000 (21:43 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 20 Jun 2014 21:43:20 +0000 (21:43 +0000)
This convinces clang-format to leave a newline.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211406 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/ScaledNumber.h
unittests/Support/ScaledNumberTest.cpp

index f6594ec6aa55c9b34c48a00a3191de7bd6f0a954..b5a1168f67af82651bd73f7a745a6455236c7bca 100644 (file)
@@ -97,8 +97,9 @@ inline std::pair<uint64_t, int16_t> getAdjusted64(uint64_t Digits,
                                                   int16_t Scale = 0) {
   return getAdjusted<uint64_t>(Digits, Scale);
 }
-}
-}
+
+} // end namespace ScaledNumbers
+} // end namespace llvm
 
 #endif
 
index d1277d0479a62567941d86eb70d911c31a7adc99..e6d24d4512f211c561ebc79d27f1b48bc3df1bd4 100644 (file)
@@ -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