sepavloff marked an inline comment as done.
sepavloff added inline comments.
================
Comment at: clang/lib/Parse/ParsePragma.cpp:2678
+ auto *AnnotValue = new (PP.getPreprocessorAllocator()) TokFPAnnotValue;
while (Tok.is(tok::identifier)) {
----------------
aaron.ballman wrote:
> Might as well move this down to around line 2710, closer to where it's used.
> This way we don't allocate something only to ignore it due to errors in fewer
> situations.
Actually it cannot be closer. It is created just before the loop, in which
fields of `*AnnotValue` are read.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65997/new/
https://reviews.llvm.org/D65997
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits