diff options
author | Sven Verdoolaege <skimo@kotnet.org> | 2012-12-01 15:17:15 +0100 |
---|---|---|
committer | Sven Verdoolaege <skimo@kotnet.org> | 2012-12-01 17:38:08 +0100 |
commit | acc5df2f96fc0c04495cd237f0b5b5eb8822ed85 (patch) | |
tree | 3a9246e953b9471e95fc09cbc99d710208f467e6 /interface | |
parent | 27c401b1275c356e5659f341fc4fd1ea60b9d526 (diff) | |
download | isl-acc5df2f96fc0c04495cd237f0b5b5eb8822ed85.tar.gz isl-acc5df2f96fc0c04495cd237f0b5b5eb8822ed85.tar.bz2 isl-acc5df2f96fc0c04495cd237f0b5b5eb8822ed85.zip |
update for change in the constructor of the clang Driver
In particular, the Driver constructor no longer takes an IsProduction argument.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
Diffstat (limited to 'interface')
-rw-r--r-- | interface/extract_interface.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/interface/extract_interface.cc b/interface/extract_interface.cc index db593420..a050293f 100644 --- a/interface/extract_interface.cc +++ b/interface/extract_interface.cc @@ -145,12 +145,18 @@ static Driver *construct_driver(const char *binary, DiagnosticsEngine &Diags) return new Driver(binary, llvm::sys::getDefaultTargetTriple(), "", false, false, Diags); } -#else +#elif defined(HAVE_ISPRODUCTION) static Driver *construct_driver(const char *binary, DiagnosticsEngine &Diags) { return new Driver(binary, llvm::sys::getDefaultTargetTriple(), "", false, Diags); } +#else +static Driver *construct_driver(const char *binary, DiagnosticsEngine &Diags) +{ + return new Driver(binary, llvm::sys::getDefaultTargetTriple(), + "", Diags); +} #endif /* Create a CompilerInvocation object that stores the command line |