[clang] [clang-tools-extra] [clang][lex] Always pass suggested module to `InclusionDirective()` callback (PR #81061)

Ben Langmuir via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 8 09:39:57 PST 2024


================
@@ -127,8 +127,12 @@ class PPCallbacks {
   /// \param RelativePath The path relative to SearchPath, at which the include
   /// file was found. This is equal to FileName except for framework includes.
   ///
-  /// \param Imported The module, whenever an inclusion directive was
-  /// automatically turned into a module import or null otherwise.
+  /// \param SuggestedModule The module, whenever an inclusion directive was
+  /// considered to be automatically turned into a module import, or null
----------------
benlangmuir wrote:

"considered to be" is ambiguous:

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


More information about the cfe-commits mailing list