owenpan added inline comments.
================
Comment at: clang/lib/Format/FormatTokenLexer.cpp:1031-1035
+ if (it->second.Finalized) {
+ FormatTok->setFinalizedType(it->second.Type);
+ } else {
+ FormatTok->setType(it->second.Type);
+ }
----------------
It seems we can simply do this and leave the rest of `FormatTokenLexer` alone.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123676/new/
https://reviews.llvm.org/D123676
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits