summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/Indexing.cpp
diff options
context:
space:
mode:
authorSean Silva <silvas@purdue.edu>2013-01-20 01:58:28 +0000
committerSean Silva <silvas@purdue.edu>2013-01-20 01:58:28 +0000
commitf1b49e237f60b4880b545d32c724a7387b937a81 (patch)
tree6d6190246e8f04674f4bfa371b29d15b22f74224 /clang/tools/libclang/Indexing.cpp
parent2118a5cd2bf1ed98823e7ee9b52bb51bb7a3b33b (diff)
downloadbcm5719-llvm-f1b49e237f60b4880b545d32c724a7387b937a81.tar.gz
bcm5719-llvm-f1b49e237f60b4880b545d32c724a7387b937a81.zip
Nuke SetUpBuildDumpLog.
Also, it was the only reason that `argc` and `argv` were being passed into createDiagnostics, so remove those parameters and clean up callers. llvm-svn: 172945
Diffstat (limited to 'clang/tools/libclang/Indexing.cpp')
-rw-r--r--clang/tools/libclang/Indexing.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/tools/libclang/Indexing.cpp b/clang/tools/libclang/Indexing.cpp
index 3bbd74a9b2e..b2866502316 100644
--- a/clang/tools/libclang/Indexing.cpp
+++ b/clang/tools/libclang/Indexing.cpp
@@ -543,8 +543,6 @@ static void clang_indexSourceFile_Impl(void *UserData) {
// Configure the diagnostics.
IntrusiveRefCntPtr<DiagnosticsEngine>
Diags(CompilerInstance::createDiagnostics(new DiagnosticOptions,
- num_command_line_args,
- command_line_args,
CaptureDiag,
/*ShouldOwnClient=*/true,
/*ShouldCloneClient=*/false));
OpenPOWER on IntegriCloud