[clang] [Clang][Preprocessor] Unify header-name lookahead for import and include (PR #191004)

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 25 13:46:51 PDT 2026


================
@@ -3287,15 +3287,6 @@ bool Lexer::LexEndOfFile(Token &Result, const char *CurPtr) {
 std::optional<Token> Lexer::peekNextPPToken() {
   assert(!LexingRawMode && "How can we expand a macro from a skipping buffer?");
 
-  if (isDependencyDirectivesLexer()) {
----------------
zygoloid wrote:

Is the change here still need?

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


More information about the cfe-commits mailing list