[PATCH] D68114: Fix for expanding __pragmas in macro arguments
Reid Kleckner via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 3 16:17:57 PDT 2019
rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.
Nice, the solution was right in front of us the whole time. :)
lgtm, but please share the TokenCollector class.
================
Comment at: clang/lib/Lex/Pragma.cpp:169
struct TokenCollector {
Preprocessor &Self;
----------------
Let's pull this class out to file scope (and put it in an anonymous namespace) so we can reuse it instead of copying it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68114/new/
https://reviews.llvm.org/D68114
More information about the cfe-commits
mailing list