r240057 - [modules] This debugging option doesn't need to match between module creation and use.

Richard Smith richard-llvm at metafoo.co.uk
Thu Jun 18 14:10:28 PDT 2015


Author: rsmith
Date: Thu Jun 18 16:10:28 2015
New Revision: 240057

URL: http://llvm.org/viewvc/llvm-project?rev=240057&view=rev
Log:
[modules] This debugging option doesn't need to match between module creation and use.

Modified:
    cfe/trunk/include/clang/Basic/LangOptions.def

Modified: cfe/trunk/include/clang/Basic/LangOptions.def
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/LangOptions.def?rev=240057&r1=240056&r2=240057&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/LangOptions.def (original)
+++ cfe/trunk/include/clang/Basic/LangOptions.def Thu Jun 18 16:10:28 2015
@@ -127,7 +127,7 @@ LANGOPT(Modules           , 1, 0, "modul
 COMPATIBLE_LANGOPT(ModulesDeclUse    , 1, 0, "require declaration of module uses")
 LANGOPT(ModulesSearchAll  , 1, 1, "search even non-imported modules to find unresolved references")
 COMPATIBLE_LANGOPT(ModulesStrictDeclUse, 1, 0, "require declaration of module uses and all headers to be in modules")
-LANGOPT(ModulesErrorRecovery, 1, 1, "automatically import modules as needed when performing error recovery")
+BENIGN_LANGOPT(ModulesErrorRecovery, 1, 1, "automatically import modules as needed when performing error recovery")
 BENIGN_LANGOPT(ImplicitModules, 1, 1, "build modules that are not specified via -fmodule-file")
 COMPATIBLE_LANGOPT(ModulesLocalVisibility, 1, 0, "local submodule visibility")
 COMPATIBLE_LANGOPT(Optimize          , 1, 0, "__OPTIMIZE__ predefined macro")





More information about the cfe-commits mailing list