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

via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 15 17:11:46 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.
----------------
yronglin wrote:

Fixed

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


More information about the cfe-commits mailing list