diff options
author | Sean Silva <silvas@purdue.edu> | 2013-01-20 01:58:28 +0000 |
---|---|---|
committer | Sean Silva <silvas@purdue.edu> | 2013-01-20 01:58:28 +0000 |
commit | d47afb96a3f988e6d21a92fe4dfe875ab227c7c0 (patch) | |
tree | cebca4eee1c4ca26c5f1face20882ffc7817c203 /lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | d2ff76b84c2f018f438eac2c2dd8b82bde441468 (diff) |
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 'lib/Frontend/CreateInvocationFromCommandLine.cpp')
-rw-r--r-- | lib/Frontend/CreateInvocationFromCommandLine.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Frontend/CreateInvocationFromCommandLine.cpp b/lib/Frontend/CreateInvocationFromCommandLine.cpp index 1ce23f737e..e25eb4322c 100644 --- a/lib/Frontend/CreateInvocationFromCommandLine.cpp +++ b/lib/Frontend/CreateInvocationFromCommandLine.cpp @@ -34,9 +34,7 @@ clang::createInvocationFromCommandLine(ArrayRef<const char *> ArgList, if (!Diags.getPtr()) { // No diagnostics engine was provided, so create our own diagnostics object // with the default options. - Diags = CompilerInstance::createDiagnostics(new DiagnosticOptions, - ArgList.size(), - ArgList.begin()); + Diags = CompilerInstance::createDiagnostics(new DiagnosticOptions); } SmallVector<const char *, 16> Args; |