[clang] [Modules][Diagnostic] Mention which AST file's options differ from the current TU options. (PR #101413)

Volodymyr Sapsai via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 2 08:29:05 PDT 2024


================
@@ -130,7 +130,7 @@ class ASTReaderListener {
   ///
   /// \returns true to indicate the options are invalid or false otherwise.
   virtual bool ReadLanguageOptions(const LangOptions &LangOpts,
-                                   bool Complain,
+                                   StringRef Filename, bool Complain,
----------------
vsapsai wrote:

Let me think about a better parameter name, I agree that its meaning isn't particularly clear.

https://github.com/llvm/llvm-project/pull/101413


More information about the cfe-commits mailing list