]> granicus.if.org Git - clang/commitdiff
Add a *San + modules FIXME.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 7 Feb 2013 01:09:29 +0000 (01:09 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 7 Feb 2013 01:09:29 +0000 (01:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174565 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/LangOptions.cpp

index e18d9256f50c1f27d902ecbba04b1430289bf353..f8714b2389cbcbaf98e6feaf3f8f681871ef94eb 100644 (file)
@@ -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();