summaryrefslogtreecommitdiff
path: root/tools/diagtool/ShowEnabledWarnings.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
commitd47afb96a3f988e6d21a92fe4dfe875ab227c7c0 (patch)
treecebca4eee1c4ca26c5f1face20882ffc7817c203 /tools/diagtool/ShowEnabledWarnings.cpp
parentd2ff76b84c2f018f438eac2c2dd8b82bde441468 (diff)
downloadclang-d47afb96a3f988e6d21a92fe4dfe875ab227c7c0.tar.gz
clang-d47afb96a3f988e6d21a92fe4dfe875ab227c7c0.tar.bz2
clang-d47afb96a3f988e6d21a92fe4dfe875ab227c7c0.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172945 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/diagtool/ShowEnabledWarnings.cpp')
-rw-r--r--tools/diagtool/ShowEnabledWarnings.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/diagtool/ShowEnabledWarnings.cpp b/tools/diagtool/ShowEnabledWarnings.cpp
index abd69fd0af..bcc7520c1b 100644
--- a/tools/diagtool/ShowEnabledWarnings.cpp
+++ b/tools/diagtool/ShowEnabledWarnings.cpp
@@ -71,8 +71,7 @@ createDiagnostics(unsigned int argc, char **argv) {
// Build the diagnostics parser
IntrusiveRefCntPtr<DiagnosticsEngine> FinalDiags =
- CompilerInstance::createDiagnostics(&Invocation->getDiagnosticOpts(),
- argc, argv);
+ CompilerInstance::createDiagnostics(&Invocation->getDiagnosticOpts());
if (!FinalDiags)
return NULL;