[PATCH] D55782: Fix isInSystemMacro to handle pasted token
Richard Smith - zygoloid via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 31 13:17:55 PST 2019
rsmith accepted this revision.
rsmith added inline comments.
This revision is now accepted and ready to land.
================
Comment at: include/clang/Basic/SourceManager.h:1466
+ // its spelling is the scratch memory, so we take the parent context.
+ if(isWrittenInScratchSpace(getSpellingLoc(loc))) {
+ return isInSystemHeader(getSpellingLoc(getImmediateMacroCallerLoc(loc)));
----------------
Please add a space after `if`.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55782/new/
https://reviews.llvm.org/D55782
More information about the cfe-commits
mailing list