diff options
| author | Alexander Kornienko <alexfh@google.com> | 2015-06-22 23:07:51 +0000 |
|---|---|---|
| committer | Alexander Kornienko <alexfh@google.com> | 2015-06-22 23:07:51 +0000 |
| commit | ab9db51042d1b821d324a209f3ba37e5ee7525a7 (patch) | |
| tree | 02b8d37aa99733a57641681111d0277aa97c4477 /clang/unittests | |
| parent | f530b329c7ac6c80ea8ea927d1bd310168c1c3f2 (diff) | |
| download | bcm5719-llvm-ab9db51042d1b821d324a209f3ba37e5ee7525a7.tar.gz bcm5719-llvm-ab9db51042d1b821d324a209f3ba37e5ee7525a7.zip | |
Revert r240270 ("Fixed/added namespace ending comments using clang-tidy").
llvm-svn: 240353
Diffstat (limited to 'clang/unittests')
| -rw-r--r-- | clang/unittests/AST/EvaluateAsRValueTest.cpp | 2 | ||||
| -rw-r--r-- | clang/unittests/Basic/DiagnosticTest.cpp | 2 | ||||
| -rw-r--r-- | clang/unittests/Basic/SourceManagerTest.cpp | 2 | ||||
| -rw-r--r-- | clang/unittests/Basic/VirtualFileSystemTest.cpp | 2 | ||||
| -rw-r--r-- | clang/unittests/CodeGen/BufferSourceTest.cpp | 2 | ||||
| -rw-r--r-- | clang/unittests/Format/FormatTestJS.cpp | 2 | ||||
| -rw-r--r-- | clang/unittests/Format/FormatTestJava.cpp | 2 | ||||
| -rw-r--r-- | clang/unittests/Format/FormatTestProto.cpp | 2 | ||||
| -rw-r--r-- | clang/unittests/Lex/PPCallbacksTest.cpp | 2 | ||||
| -rw-r--r-- | clang/unittests/Tooling/RefactoringCallbacksTest.cpp | 2 | ||||
| -rw-r--r-- | clang/unittests/Tooling/TestVisitor.h | 2 | ||||
| -rw-r--r-- | clang/unittests/libclang/LibclangTest.cpp | 2 |
12 files changed, 12 insertions, 12 deletions
diff --git a/clang/unittests/AST/EvaluateAsRValueTest.cpp b/clang/unittests/AST/EvaluateAsRValueTest.cpp index f1d3eb5296f..820edbc7c3e 100644 --- a/clang/unittests/AST/EvaluateAsRValueTest.cpp +++ b/clang/unittests/AST/EvaluateAsRValueTest.cpp @@ -79,7 +79,7 @@ class EvaluateConstantInitializersAction : public clang::ASTFrontendAction { } }; }; -} // namespace +} TEST(EvaluateAsRValue, FailsGracefullyForUnknownTypes) { // This is a regression test; the AST library used to trigger assertion diff --git a/clang/unittests/Basic/DiagnosticTest.cpp b/clang/unittests/Basic/DiagnosticTest.cpp index 100fda4af5a..fa2b56e0834 100644 --- a/clang/unittests/Basic/DiagnosticTest.cpp +++ b/clang/unittests/Basic/DiagnosticTest.cpp @@ -46,4 +46,4 @@ TEST(DiagnosticTest, suppressAndTrap) { EXPECT_FALSE(Diags.hasUnrecoverableErrorOccurred()); } -} // namespace +} diff --git a/clang/unittests/Basic/SourceManagerTest.cpp b/clang/unittests/Basic/SourceManagerTest.cpp index f087b69118d..494c27a2f1c 100644 --- a/clang/unittests/Basic/SourceManagerTest.cpp +++ b/clang/unittests/Basic/SourceManagerTest.cpp @@ -271,7 +271,7 @@ public: } }; -} // namespace +} TEST_F(SourceManagerTest, isBeforeInTranslationUnitWithMacroInInclude) { const char *header = diff --git a/clang/unittests/Basic/VirtualFileSystemTest.cpp b/clang/unittests/Basic/VirtualFileSystemTest.cpp index fc3004ee799..71d2d2b60c0 100644 --- a/clang/unittests/Basic/VirtualFileSystemTest.cpp +++ b/clang/unittests/Basic/VirtualFileSystemTest.cpp @@ -279,7 +279,7 @@ struct ScopedDir { } operator StringRef() { return Path.str(); } }; -} // namespace +} TEST(VirtualFileSystemTest, BasicRealFSIteration) { ScopedDir TestDirectory("virtual-file-system-test", /*Unique*/true); diff --git a/clang/unittests/CodeGen/BufferSourceTest.cpp b/clang/unittests/CodeGen/BufferSourceTest.cpp index 00f06775314..b2a8ba58084 100644 --- a/clang/unittests/CodeGen/BufferSourceTest.cpp +++ b/clang/unittests/CodeGen/BufferSourceTest.cpp @@ -74,4 +74,4 @@ TEST(BufferSourceTest, EmitCXXGlobalInitFunc) { clang::ParseAST(compiler.getSema(), false, false); } -} // namespace +} diff --git a/clang/unittests/Format/FormatTestJS.cpp b/clang/unittests/Format/FormatTestJS.cpp index 715d0cb17e3..15d62eb66c3 100644 --- a/clang/unittests/Format/FormatTestJS.cpp +++ b/clang/unittests/Format/FormatTestJS.cpp @@ -893,5 +893,5 @@ TEST_F(FormatTestJS, IndexSignature) { verifyFormat("var x: {[k: string]: v};"); } -} // namespace format +} // end namespace tooling } // end namespace clang diff --git a/clang/unittests/Format/FormatTestJava.cpp b/clang/unittests/Format/FormatTestJava.cpp index 35b3b6ce2e9..4c161e0180a 100644 --- a/clang/unittests/Format/FormatTestJava.cpp +++ b/clang/unittests/Format/FormatTestJava.cpp @@ -501,5 +501,5 @@ TEST_F(FormatTestJava, AlignsBlockComments) { " void f() {}")); } -} // namespace format +} // end namespace tooling } // end namespace clang diff --git a/clang/unittests/Format/FormatTestProto.cpp b/clang/unittests/Format/FormatTestProto.cpp index e90c29f24cb..ac8fcbdda4f 100644 --- a/clang/unittests/Format/FormatTestProto.cpp +++ b/clang/unittests/Format/FormatTestProto.cpp @@ -152,5 +152,5 @@ TEST_F(FormatTestProto, FormatsService) { "};"); } -} // namespace format +} // end namespace tooling } // end namespace clang diff --git a/clang/unittests/Lex/PPCallbacksTest.cpp b/clang/unittests/Lex/PPCallbacksTest.cpp index 6ae71ebcfcf..94812fc93de 100644 --- a/clang/unittests/Lex/PPCallbacksTest.cpp +++ b/clang/unittests/Lex/PPCallbacksTest.cpp @@ -346,4 +346,4 @@ TEST_F(PPCallbacksTest, OpenCLExtensionPragmaDisabled) { ASSERT_EQ(ExpectedState, Parameters.State); } -} // namespace +} // anonoymous namespace diff --git a/clang/unittests/Tooling/RefactoringCallbacksTest.cpp b/clang/unittests/Tooling/RefactoringCallbacksTest.cpp index ea4d8da92a2..c2b331c70af 100644 --- a/clang/unittests/Tooling/RefactoringCallbacksTest.cpp +++ b/clang/unittests/Tooling/RefactoringCallbacksTest.cpp @@ -96,5 +96,5 @@ TEST(RefactoringCallbacksTest, RemovesEntireIfOnEmptyElse) { Callback); } -} // namespace tooling +} // end namespace ast_matchers } // end namespace clang diff --git a/clang/unittests/Tooling/TestVisitor.h b/clang/unittests/Tooling/TestVisitor.h index 77a42af55ab..f4a00394487 100644 --- a/clang/unittests/Tooling/TestVisitor.h +++ b/clang/unittests/Tooling/TestVisitor.h @@ -229,6 +229,6 @@ protected: std::vector<MatchCandidate> DisallowedMatches; std::vector<ExpectedMatch> ExpectedMatches; }; -} // namespace clang +} #endif diff --git a/clang/unittests/libclang/LibclangTest.cpp b/clang/unittests/libclang/LibclangTest.cpp index 650d28b622f..e827ebc0da8 100644 --- a/clang/unittests/libclang/LibclangTest.cpp +++ b/clang/unittests/libclang/LibclangTest.cpp @@ -68,7 +68,7 @@ struct TestVFO { clang_VirtualFileOverlay_dispose(VFO); } }; -} // namespace +} TEST(libclang, VirtualFileOverlay_Basic) { const char *contents = |

