[PATCH] D142143: [Lex] For dependency directive lexing, angled includes in `__has_include` should be lexed as string literals

Argyrios Kyrtzidis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 19 12:20:12 PST 2023


akyrtzi marked an inline comment as done.
akyrtzi added inline comments.


================
Comment at: clang/lib/Lex/Lexer.cpp:4415
+    if (Result.isNot(tok::header_name))
+      return true;
+    // Advance the index of lexed tokens.
----------------
benlangmuir wrote:
> This case is missing a test I think.
Added a test case.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142143/new/

https://reviews.llvm.org/D142143



More information about the cfe-commits mailing list