[PATCH] D114093: [clang][lex] Refactor check for the first file include

Duncan P. N. Exon Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 17 12:43:10 PST 2021


dexonsmith accepted this revision.
dexonsmith added a comment.
This revision is now accepted and ready to land.

LGTM with one nit inline.



================
Comment at: clang/include/clang/Lex/Lexer.h:140-141
 
+  /// True if this is the first time we're lexing the input file.
+  bool IsFirstTimeLexingFile;
+
----------------
Please move up next to the other `bool` declarations so that it uses the same word for storage.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114093



More information about the cfe-commits mailing list