]> granicus.if.org Git - clang/commit
If any Fix-Its attached to a diagnostic have invalid source locations
authorDouglas Gregor <dgregor@apple.com>
Thu, 3 Feb 2011 23:41:12 +0000 (23:41 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 3 Feb 2011 23:41:12 +0000 (23:41 +0000)
commit4814fb560322daf009fda6226cffccb10bd44620
treec1ef5ce5c613b5ed518ce0aac98ad300fd511cfe
parent2100fe952a644134b1dca462f2e6330cf14ef47c
If any Fix-Its attached to a diagnostic have invalid source locations
or source locations that refer into a macro instantiation, delete all
of the Fix-Its on that diagnostic.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124833 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/DiagnosticIDs.cpp
test/Index/fix-its.c [new file with mode: 0644]
tools/c-index-test/c-index-test.c