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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user