[all-commits] [llvm/llvm-project] c68b8c: [Lex] Make sure to notify `MultipleIncludeOpt` for...

Argyrios Kyrtzidis via All-commits all-commits at lists.llvm.org
Wed Jun 29 15:51:07 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c68b8c84eb17e4c125897a8a381aa31eea5e5c58
      https://github.com/llvm/llvm-project/commit/c68b8c84eb17e4c125897a8a381aa31eea5e5c58
  Author: Argyrios Kyrtzidis <kyrtzidis at apple.com>
  Date:   2022-06-29 (Wed, 29 Jun 2022)

  Changed paths:
    M clang/lib/Lex/Lexer.cpp
    A clang/test/ClangScanDeps/more-content-after-headerguard.c

  Log Message:
  -----------
  [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




More information about the All-commits mailing list