summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Tooling/CompilationDatabaseTest.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2012-08-24 05:50:27 +0000
committerDaniel Jasper <djasper@google.com>2012-08-24 05:50:27 +0000
commit6ed1f85c241d809369777aac2b2ead83f29dbcd5 (patch)
treeb90cb0f900446b13ef4651d8878b8f8cd2af64ec /clang/unittests/Tooling/CompilationDatabaseTest.cpp
parent435ce13937537261e92578c2a1d476c465666b99 (diff)
downloadbcm5719-llvm-6ed1f85c241d809369777aac2b2ead83f29dbcd5.tar.gz
bcm5719-llvm-6ed1f85c241d809369777aac2b2ead83f29dbcd5.zip
Use LLVM's plugin registry to enable registering new compilation
databases. Move JSONCompilationDatabase.h to its own files and register it as plugin. llvm-svn: 162541
Diffstat (limited to 'clang/unittests/Tooling/CompilationDatabaseTest.cpp')
-rw-r--r--clang/unittests/Tooling/CompilationDatabaseTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Tooling/CompilationDatabaseTest.cpp b/clang/unittests/Tooling/CompilationDatabaseTest.cpp
index 591d48dbbd6..560b931718a 100644
--- a/clang/unittests/Tooling/CompilationDatabaseTest.cpp
+++ b/clang/unittests/Tooling/CompilationDatabaseTest.cpp
@@ -11,7 +11,7 @@
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclGroup.h"
#include "clang/Frontend/FrontendAction.h"
-#include "clang/Tooling/CompilationDatabase.h"
+#include "clang/Tooling/JSONCompilationDatabase.h"
#include "clang/Tooling/Tooling.h"
#include "gtest/gtest.h"
OpenPOWER on IntegriCloud