فهرست منبع

Support: Mark end of namespaces

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
Duncan P. N. Exon Smith 11 سال پیش
والد
کامیت
2d3fb0a171
2فایلهای تغییر یافته به همراه5 افزوده شده و 3 حذف شده
  1. 3 2
      include/llvm/Support/ScaledNumber.h
  2. 2 1
      unittests/Support/ScaledNumberTest.cpp

+ 3 - 2
include/llvm/Support/ScaledNumber.h

@@ -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
 

+ 2 - 1
unittests/Support/ScaledNumberTest.cpp

@@ -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