[clang] [clang] Optimize Lexer hot path to reduce compile time (PR #177153)

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 12 02:51:22 PST 2026


================
@@ -878,6 +878,17 @@ bool Preprocessor::HandleIdentifier(Token &Identifier) {
   if (II.isExtensionToken() && !DisableMacroExpansion)
     Diag(Identifier, diag::ext_token_used);
 
+  // Handle module contextual keyword.
----------------
cor3ntin wrote:

```suggestion
  // Handle module contextual keywords.
```

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


More information about the cfe-commits mailing list