Bigcheese wrote: This is needed for the same reason that `import` and `module` are (potentially) preprocessor directives in C++. It allows detecting dependencies without doing full preprocessing. https://wg21.link/P1857R3 covers this more. DependencyDirectivesScanner.cpp has the corresponding code that only works with the restrictions added in this PR.
https://github.com/llvm/llvm-project/pull/157726 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
