summaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
authorSven Verdoolaege <skimo@kotnet.org>2012-12-01 15:17:15 +0100
committerSven Verdoolaege <skimo@kotnet.org>2012-12-01 17:38:08 +0100
commitacc5df2f96fc0c04495cd237f0b5b5eb8822ed85 (patch)
tree3a9246e953b9471e95fc09cbc99d710208f467e6 /interface
parent27c401b1275c356e5659f341fc4fd1ea60b9d526 (diff)
downloadisl-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.cc8
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