[Lex] Make sure to notify `MultipleIncludeOpt` for "read tokens" during fast dependen...
authorArgyrios Kyrtzidis <kyrtzidis@apple.com>
Tue, 28 Jun 2022 23:54:42 +0000 (16:54 -0700)
committerArgyrios Kyrtzidis <kyrtzidis@apple.com>
Wed, 29 Jun 2022 22:50:16 +0000 (15:50 -0700)
commitc68b8c84eb17e4c125897a8a381aa31eea5e5c58
treed91c00aa7b6c03f32e177a6e47cca319d5482cf0
parent6fa65f8a98967a5d2d2a6863e0f67a40d2961905
[Lex] Make sure to notify `MultipleIncludeOpt` for "read tokens" during fast dependency directive lexing

Otherwise a header may be erroneously marked as having a header macro guard and won't get re-included.

Differential Revision: https://reviews.llvm.org/D128772
clang/lib/Lex/Lexer.cpp
clang/test/ClangScanDeps/more-content-after-headerguard.c [new file with mode: 0644]