aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCDisassembler/Disassembler.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-12-18 23:07:30 +0000
committerTed Kremenek <kremenek@apple.com>2012-12-18 23:07:30 +0000
commite3713d3025e1f76f6c40e0c6553a6fab6d427e0a (patch)
tree9b57f420a3b57f9a172867bcefdf06dfec5ef773 /llvm/lib/MC/MCDisassembler/Disassembler.cpp
parent9b7ab87738a6e4225005cff36e7aa1e735df5236 (diff)
downloadllvm-e3713d3025e1f76f6c40e0c6553a6fab6d427e0a.zip
llvm-e3713d3025e1f76f6c40e0c6553a6fab6d427e0a.tar.gz
llvm-e3713d3025e1f76f6c40e0c6553a6fab6d427e0a.tar.bz2
Have clang_getSpellingLocation() use the same logic as DiagnosticRenderer for plowing through macros.
This fixes a subtle bug reported in <rdar://problem/12584554> where a double-nested macro could lead to an incorrect fixit location with live issues. This fix also uncovers a bunch of subtle bugs in our indexer test cases which are now fixed (mostly around source ranges for attributes). llvm-svn: 170468
Diffstat (limited to 'llvm/lib/MC/MCDisassembler/Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions