diff options
author | Alexander Shaposhnikov <shal1t712@gmail.com> | 2017-06-20 20:46:58 +0000 |
---|---|---|
committer | Alexander Shaposhnikov <shal1t712@gmail.com> | 2017-06-20 20:46:58 +0000 |
commit | 3dbef856d44b3d6336fe500a0dbf5ba2b3137d56 (patch) | |
tree | 2b8402873e4d88b20a544af1e1c69dded8e7e46d /llvm/lib/Support/Unix/Program.inc | |
parent | 67cd347e937b525c8141bfdf6be02f9a1e866554 (diff) | |
download | bcm5719-llvm-3dbef856d44b3d6336fe500a0dbf5ba2b3137d56.tar.gz bcm5719-llvm-3dbef856d44b3d6336fe500a0dbf5ba2b3137d56.zip |
[clang] Fix format specifiers fixits for nested macros
ExpansionLoc was previously calculated incorrectly in the case of
nested macros expansions. In this diff we build the stack of expansions
where the last one is the actual expansion which should be used
for grouping together the edits.
The definition of MacroArgUse is adjusted accordingly.
Test plan: make check-all
Differential revision: https://reviews.llvm.org/D34268
llvm-svn: 305845
Diffstat (limited to 'llvm/lib/Support/Unix/Program.inc')
0 files changed, 0 insertions, 0 deletions