aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-08-14 01:14:06 +0000
committerTed Kremenek <kremenek@apple.com>2010-08-14 01:14:06 +0000
commit3f4046004be223b03f1f895bb934e44921ccf805 (patch)
treeb8677a28f84477e091cf785c379e81e0b1cd1240 /lib/CodeGen/CodeGenFunction.cpp
parent87c08a5d6b9e1e44ae6f554df40139d3a6f60b33 (diff)
As a heuristic, annotate tokens (via clang_annotateTokens) that are the arguments of a macro instantiation using the closest cursor with the same spelling location. Because macro arguments can get token pasted in any arbitrary order, we use the annotation map to paper over the token -> cursor annotations during our post-processing stage. This fixes most of <rdar://problem/8044584>, but still doesn't work for assert().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111062 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions