[clang] Reapply "[Clang] Implement P3034R1 Module Declarations Shouldn’t be Macros" (PR #102135)
Shafik Yaghmour via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 5 12:36:48 PDT 2024
================
@@ -4558,6 +4574,12 @@ bool Lexer::LexDependencyDirectiveToken(Token &Result) {
Result.setRawIdentifierData(TokPtr);
if (!isLexingRawMode()) {
const IdentifierInfo *II = PP->LookUpIdentifierInfo(Result);
+ if (Result.isModuleContextualKeyword()) {
+ // Result.setFlagValue(Token::StartOfLine,
----------------
shafik wrote:
dead code?
https://github.com/llvm/llvm-project/pull/102135
More information about the cfe-commits
mailing list