aboutsummaryrefslogtreecommitdiff
path: root/Driver/clang.cpp
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2007-11-15 07:30:50 +0000
committerNate Begeman <natebegeman@mac.com>2007-11-15 07:30:50 +0000
commit8aebcb739a4aff5ccf007fd740aa9105071feff4 (patch)
tree0db7f55272b6fcbd9008767eda33f8584096e89f /Driver/clang.cpp
parente7579b57eb3eabfd3545b86320fb67466730e9fc (diff)
Break out bool/true/false support into a LangOption
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44164 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/clang.cpp')
-rw-r--r--Driver/clang.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Driver/clang.cpp b/Driver/clang.cpp
index 5897da32a3..b31cee44d8 100644
--- a/Driver/clang.cpp
+++ b/Driver/clang.cpp
@@ -316,6 +316,7 @@ static void InitializeLanguageStandard(LangOptions &Options) {
case lang_cxx98:
Options.CPlusPlus = 1;
Options.CXXOperatorNames = !NoOperatorNames;
+ Options.Boolean = 1;
// FALL THROUGH.
case lang_gnu99:
case lang_c99: