projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
389f7dc
)
Add a *San + modules FIXME.
author
Richard Smith
<richard-llvm@metafoo.co.uk>
Thu, 7 Feb 2013 01:09:29 +0000
(
01:09
+0000)
committer
Richard Smith
<richard-llvm@metafoo.co.uk>
Thu, 7 Feb 2013 01:09:29 +0000
(
01:09
+0000)
llvm-svn: 174565
clang/lib/Basic/LangOptions.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Basic/LangOptions.cpp
b/clang/lib/Basic/LangOptions.cpp
index
e18d925
..
f8714b2
100644
(file)
--- a/
clang/lib/Basic/LangOptions.cpp
+++ b/
clang/lib/Basic/LangOptions.cpp
@@
-31,6
+31,8
@@
void LangOptions::resetNonModularOptions() {
Name = Default;
#include "clang/Basic/LangOptions.def"
+ // FIXME: This should not be reset; modules can be different with different
+ // sanitizer options (this affects __has_feature(address_sanitizer) etc).
Sanitize = SanitizerOptions::Disabled;
CurrentModule.clear();