aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic/LangOptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Basic/LangOptions.h')
-rw-r--r--include/clang/Basic/LangOptions.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/clang/Basic/LangOptions.h b/include/clang/Basic/LangOptions.h
index b49d500470..818ccda48b 100644
--- a/include/clang/Basic/LangOptions.h
+++ b/include/clang/Basic/LangOptions.h
@@ -59,6 +59,9 @@ public:
unsigned MathErrno : 1; // Math functions must respect errno
// (modulo the platform support).
+ unsigned OverflowChecking : 1; // Extension to call a handler function when
+ // integer arithmetic overflows.
+
unsigned HeinousExtensions : 1; // Extensions that we really don't like and
// may be ripped out at any time.
private:
@@ -87,6 +90,8 @@ public:
EmitAllDecls = 0;
MathErrno = 1;
+ OverflowChecking = 0;
+
InstantiationDepth = 99;
}