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)
llvm-svn: 174565

clang/lib/Basic/LangOptions.cpp

index e18d925..f8714b2 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();