aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaCodeComplete.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
commitd9b877765cfbedc7cb1ee4b50aeb576a46d0df4e (patch)
tree8819ab08b9f61b756b54f0060755c990945d1750 /lib/Sema/SemaCodeComplete.cpp
parent88b9521364735a6c9a7ccd23c5bd19d81a80cdd3 (diff)
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). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170468 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaCodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions