================
@@ -333,8 +346,8 @@ static bool checkLanguageOptions(const LangOptions 
&LangOpts,
          !AllowCompatibleDifferences)) {                                       
\
       if (ExistingLangOpts.get##Name() != LangOpts.get##Name()) {              
\
         if (Diags)                                                             
\
-          Diags->Report(diag::err_ast_file_langopt_value_mismatch)             
\
-              << Description << ModuleFilename;                                
\
+          diagnoseLanguageOptionValueMismatch(*Diags, Description,             
\
----------------
dzbarsky wrote:

good idea, i'll tweak that

https://github.com/llvm/llvm-project/pull/202843
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to