summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-06-20 21:43:20 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-06-20 21:43:20 +0000
commit2d3fb0a1710e88b49b5c254a9e85e560b7eb21f4 (patch)
tree813a007de34da0a5282c77495ae328b6371cee21
parentefc447827d22c67dbd6aaff6f4160e710583c606 (diff)
downloadllvm-2d3fb0a1710e88b49b5c254a9e85e560b7eb21f4.tar.gz
llvm-2d3fb0a1710e88b49b5c254a9e85e560b7eb21f4.tar.bz2
llvm-2d3fb0a1710e88b49b5c254a9e85e560b7eb21f4.tar.xz
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
-rw-r--r--include/llvm/Support/ScaledNumber.h5
-rw-r--r--unittests/Support/ScaledNumberTest.cpp3
2 files changed, 5 insertions, 3 deletions
diff --git a/include/llvm/Support/ScaledNumber.h b/include/llvm/Support/ScaledNumber.h
index f6594ec6aa..b5a1168f67 100644
--- a/include/llvm/Support/ScaledNumber.h
+++ b/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
diff --git a/unittests/Support/ScaledNumberTest.cpp b/unittests/Support/ScaledNumberTest.cpp
index d1277d0479..e6d24d4512 100644
--- a/unittests/Support/ScaledNumberTest.cpp
+++ b/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