From bc54025b3f11edd8ef6762e36bf2855f28844fa0 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Mon, 1 Jul 2013 06:34:58 +0000 Subject: [PATCH] Put helper class in anonymous namespace. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185306 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Tooling/JSONCompilationDatabase.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Tooling/JSONCompilationDatabase.cpp b/lib/Tooling/JSONCompilationDatabase.cpp index 254b069952..1e33b418af 100644 --- a/lib/Tooling/JSONCompilationDatabase.cpp +++ b/lib/Tooling/JSONCompilationDatabase.cpp @@ -117,8 +117,6 @@ std::vector unescapeCommandLine( return parser.parse(); } -} // end namespace - class JSONCompilationDatabasePlugin : public CompilationDatabasePlugin { virtual CompilationDatabase *loadFromDirectory( StringRef Directory, std::string &ErrorMessage) { @@ -132,6 +130,8 @@ class JSONCompilationDatabasePlugin : public CompilationDatabasePlugin { } }; +} // end namespace + // Register the JSONCompilationDatabasePlugin with the // CompilationDatabasePluginRegistry using this statically initialized variable. static CompilationDatabasePluginRegistry::Add -- 2.50.1