diff options
author | Bob Wilson <bob.wilson@apple.com> | 2011-10-04 05:34:14 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2011-10-04 05:34:14 +0000 |
commit | 10a82cde7c317c5dd41dc3faf17f503c52ce2a3d (patch) | |
tree | 51ef79804185bcc43b8d8064d4c67599b793c4d4 /lib/Driver/Driver.cpp | |
parent | f4e541ccecfc06e9818fba83e7ac3a072b1d849e (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 'lib/Driver/Driver.cpp')
-rw-r--r-- | lib/Driver/Driver.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp index 6f49bec01b..e9ab78ddcb 100644 --- a/lib/Driver/Driver.cpp +++ b/lib/Driver/Driver.cpp @@ -49,7 +49,7 @@ using namespace clang; Driver::Driver(StringRef ClangExecutable, StringRef DefaultHostTriple, StringRef DefaultImageName, - bool IsProduction, bool CXXIsProduction, + bool IsProduction, DiagnosticsEngine &Diags) : Opts(createDriverOptTable()), Diags(Diags), ClangExecutable(ClangExecutable), UseStdLib(true), @@ -73,9 +73,6 @@ Driver::Driver(StringRef ClangExecutable, CCCClangArchs.insert(llvm::Triple::x86); CCCClangArchs.insert(llvm::Triple::x86_64); CCCClangArchs.insert(llvm::Triple::arm); - - if (!CXXIsProduction) - CCCUseClangCXX = false; } Name = llvm::sys::path::stem(ClangExecutable); |