[clang] [C++20][Modules] Implement P1857R3 Modules Dependency Discovery (PR #107168)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Nov 8 23:19:06 PST 2025
================
@@ -142,6 +142,15 @@ void printDependencyDirectivesAsSource(
/// \returns true if any C++20 named modules related directive was found.
bool scanInputForCXX20ModulesUsage(StringRef Source);
+/// Scan an input source buffer, and check whether the input ssource is a
+/// preprocessed output.
+///
+/// \param Source The input source buffer.
+///
+/// \returns true if any '__preprocessed_module' or '__preprocessed_import'
+/// directive was found.
----------------
yronglin wrote:
Thanks for pointing out this! I have fixed this and added a test.
https://github.com/llvm/llvm-project/pull/107168
More information about the cfe-commits
mailing list