diff options
author | Kostya Serebryany <kcc@google.com> | 2011-11-22 01:28:36 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2011-11-22 01:28:36 +0000 |
commit | b61968857fd2c6579b4dcd7bad65736e89d21185 (patch) | |
tree | 609da6b63be356d95f559bdc2df4eb984e6ae7d2 /include/clang/Frontend/CodeGenOptions.h | |
parent | 3fa45bb44ab933e4959204a9b388c5a2500a4382 (diff) |
implement __has_feature(address_sanitizer); also use LangOpts.AddressSanitizer instead of CodeGenOpts.AddressSanitizer
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145054 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/CodeGenOptions.h')
-rw-r--r-- | include/clang/Frontend/CodeGenOptions.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/clang/Frontend/CodeGenOptions.h b/include/clang/Frontend/CodeGenOptions.h index 80720d4e36..9962ea8cf9 100644 --- a/include/clang/Frontend/CodeGenOptions.h +++ b/include/clang/Frontend/CodeGenOptions.h @@ -35,7 +35,6 @@ public: Mixed = 2 }; - unsigned AddressSanitizer : 1; /// Enable AddressSanitizer. unsigned AsmVerbose : 1; /// -dA, -fverbose-asm. unsigned ObjCAutoRefCountExceptions : 1; /// Whether ARC should be EH-safe. unsigned CUDAIsDevice : 1; /// Set when compiling for CUDA device. @@ -152,7 +151,6 @@ public: public: CodeGenOptions() { - AddressSanitizer = 0; AsmVerbose = 0; CUDAIsDevice = 0; CXAAtExit = 1; |