[llvm] r236332 - Move unit test into anonymous namespace as per convention.
Douglas Katzman
dougk at google.com
Fri May 1 11:51:06 PDT 2015
Author: dougk
Date: Fri May 1 13:51:06 2015
New Revision: 236332
URL: http://llvm.org/viewvc/llvm-project?rev=236332&view=rev
Log:
Move unit test into anonymous namespace as per convention.
Modified:
llvm/trunk/unittests/ADT/TripleTest.cpp
Modified: llvm/trunk/unittests/ADT/TripleTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ADT/TripleTest.cpp?rev=236332&r1=236331&r2=236332&view=diff
==============================================================================
--- llvm/trunk/unittests/ADT/TripleTest.cpp (original)
+++ llvm/trunk/unittests/ADT/TripleTest.cpp Fri May 1 13:51:06 2015
@@ -694,7 +694,6 @@ TEST(TripleTest, getARMCPUForArch) {
EXPECT_STREQ("cortex-a8", Triple.getARMCPUForArch("arm"));
}
}
-}
TEST(TripleTest, NormalizeARM) {
EXPECT_EQ("armv6--netbsd-eabi", Triple::normalize("armv6-netbsd-eabi"));
@@ -712,3 +711,5 @@ TEST(TripleTest, NormalizeARM) {
T = Triple("armv6eb--netbsd-eabi");
EXPECT_EQ(Triple::armeb, T.getArch());
}
+
+} // end anonymous namespace
More information about the llvm-commits
mailing list