HomePhabricator

[clang] Fix format specifiers fixits for nested macros

Authored by alexshap on Jun 20 2017, 1:46 PM.

Description

[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

Details

Committed
alexshapJun 20 2017, 1:46 PM
Differential Revision
D34268: [clang] Fix format specifiers fixits for nested macros
Parents
rG67cd347e937b: AMDGPU: Allow vectorization of packed types
Branches
Unknown
Tags
Unknown