diff options
author | Brad King <brad.king@kitware.com> | 2014-06-09 20:00:17 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-06-09 20:02:45 (GMT) |
commit | 698099dc3e026ea2f307e8f2ed04afea1657b9cd (patch) | |
tree | 985cc4cf9fdc935fe7ae5129874865d6dc2580b2 /src | |
parent | 5ded44aea8b7b5b979f674db531e6aecbb7df44f (diff) | |
download | CastXML-698099dc3e026ea2f307e8f2ed04afea1657b9cd.zip CastXML-698099dc3e026ea2f307e8f2ed04afea1657b9cd.tar.gz CastXML-698099dc3e026ea2f307e8f2ed04afea1657b9cd.tar.bz2 |
Port to LLVM/Clang SVN r210479
The clang::driver::Driver constructor no longer takes a default image
name.
Diffstat (limited to 'src')
-rw-r--r-- | src/RunClang.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/RunClang.cxx b/src/RunClang.cxx index c211331..c6d9c58 100644 --- a/src/RunClang.cxx +++ b/src/RunClang.cxx @@ -270,7 +270,7 @@ static int runClangImpl(const char* const* argBeg, // Use the approach in clang::createInvocationFromCommandLine to // get system compiler setting arguments from the Driver. clang::driver::Driver d("clang", llvm::sys::getDefaultTargetTriple(), - "dummy.out", *diags); + *diags); if(!cxsys::SystemTools::FileIsFullPath(d.ResourceDir.c_str()) || !cxsys::SystemTools::FileIsDirectory(d.ResourceDir.c_str())) { d.ResourceDir = getClangResourceDir(); |