aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-05-15 22:26:36 +0000
committerAlp Toker <alp@nuanti.com>2014-05-15 22:26:36 +0000
commit1761f11801c120c94bed861a580ac8218a1b4cfa (patch)
treeadb3ab5a3357acc07dd16446dffba8ceb25f2836 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parentb0f2f146bb6574ec8eba5ead788d95f47a7cc3ba (diff)
downloadllvm-1761f11801c120c94bed861a580ac8218a1b4cfa.zip
llvm-1761f11801c120c94bed861a580ac8218a1b4cfa.tar.gz
llvm-1761f11801c120c94bed861a580ac8218a1b4cfa.tar.bz2
Eliminate DefaultImageName from the Driver constructor
All callers were passing in "a.out" or garbage so a sensible default works fine here as a cleanup. This also brings about the possibility of adapting the value based on the driver's compatibility mode in future. The setting can still be changed via Driver::DefaultImageName as needed. llvm-svn: 208926
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
-rw-r--r--clang/lib/Frontend/CreateInvocationFromCommandLine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp b/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
index ededf9a..f108e55 100644
--- a/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
+++ b/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
@@ -47,7 +47,7 @@ clang::createInvocationFromCommandLine(ArrayRef<const char *> ArgList,
// FIXME: We shouldn't have to pass in the path info.
driver::Driver TheDriver("clang", llvm::sys::getDefaultTargetTriple(),
- "a.out", *Diags);
+ *Diags);
// Don't check that inputs exist, they may have been remapped.
TheDriver.setCheckInputsExist(false);