summaryrefslogtreecommitdiff
path: root/examples
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
commit82893e7e14eb44c73353134eda51f91be0209b08 (patch)
tree1c454e552db7ab0a2d5abfb341203bf6b92bfa9e /examples
parent61e1f5cc721b67ea42d962024ebd0d323f7a7f93 (diff)
downloadclang-82893e7e14eb44c73353134eda51f91be0209b08.tar.gz
clang-82893e7e14eb44c73353134eda51f91be0209b08.tar.bz2
clang-82893e7e14eb44c73353134eda51f91be0209b08.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208926 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
-rw-r--r--examples/clang-interpreter/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/clang-interpreter/main.cpp b/examples/clang-interpreter/main.cpp
index 713a650b90..0f083c1514 100644
--- a/examples/clang-interpreter/main.cpp
+++ b/examples/clang-interpreter/main.cpp
@@ -75,7 +75,7 @@ int main(int argc, const char **argv, char * const *envp) {
IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
DiagnosticsEngine Diags(DiagID, &*DiagOpts, DiagClient);
- Driver TheDriver(Path, llvm::sys::getProcessTriple(), "a.out", Diags);
+ Driver TheDriver(Path, llvm::sys::getProcessTriple(), Diags);
TheDriver.setTitle("clang interpreter");
// FIXME: This is a hack to try to force the driver to do something we can