diff options
| author | Alp Toker <alp@nuanti.com> | 2014-05-15 22:26:36 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2014-05-15 22:26:36 +0000 |
| commit | 1761f11801c120c94bed861a580ac8218a1b4cfa (patch) | |
| tree | adb3ab5a3357acc07dd16446dffba8ceb25f2836 /clang/examples | |
| parent | b0f2f146bb6574ec8eba5ead788d95f47a7cc3ba (diff) | |
| download | bcm5719-llvm-1761f11801c120c94bed861a580ac8218a1b4cfa.tar.gz bcm5719-llvm-1761f11801c120c94bed861a580ac8218a1b4cfa.zip | |
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/examples')
| -rw-r--r-- | clang/examples/clang-interpreter/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/examples/clang-interpreter/main.cpp b/clang/examples/clang-interpreter/main.cpp index 713a650b90b..0f083c15143 100644 --- a/clang/examples/clang-interpreter/main.cpp +++ b/clang/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 |

