aboutsummaryrefslogtreecommitdiff
path: root/tools/driver/driver.cpp
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2011-10-04 05:34:14 +0000
committerBob Wilson <bob.wilson@apple.com>2011-10-04 05:34:14 +0000
commit10a82cde7c317c5dd41dc3faf17f503c52ce2a3d (patch)
tree51ef79804185bcc43b8d8064d4c67599b793c4d4 /tools/driver/driver.cpp
parentf4e541ccecfc06e9818fba83e7ac3a072b1d849e (diff)
Rip out flags for controlling C++ "production mode" separately.
This is old leftover cruft from the days when C++ was not yet ready for prime time. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141063 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/driver/driver.cpp')
-rw-r--r--tools/driver/driver.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/tools/driver/driver.cpp b/tools/driver/driver.cpp
index b9268dfeb4..bd1d2a2f5f 100644
--- a/tools/driver/driver.cpp
+++ b/tools/driver/driver.cpp
@@ -379,18 +379,11 @@ int main(int argc_, const char **argv_) {
#ifdef CLANG_IS_PRODUCTION
const bool IsProduction = true;
-# ifdef CLANGXX_IS_PRODUCTION
- const bool CXXIsProduction = true;
-# else
- const bool CXXIsProduction = false;
-# endif
#else
const bool IsProduction = false;
- const bool CXXIsProduction = false;
#endif
Driver TheDriver(Path.str(), llvm::sys::getHostTriple(),
- "a.out", IsProduction, CXXIsProduction,
- Diags);
+ "a.out", IsProduction, Diags);
// Attempt to find the original path used to invoke the driver, to determine
// the installed path. We do this manually, because we want to support that