aboutsummaryrefslogtreecommitdiff
path: root/clang/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
commitf4ade0ae3f268c6a1c9b59e2c0803aabe705a53f (patch)
treee446dfddf3b3c47579915bc0e5cf874f39990942 /clang/lib/CodeGen/CodeGenFunction.cpp
parentaa445c075119075e59dad9d431ee37e33430a938 (diff)
downloadllvm-f4ade0ae3f268c6a1c9b59e2c0803aabe705a53f.zip
llvm-f4ade0ae3f268c6a1c9b59e2c0803aabe705a53f.tar.gz
llvm-f4ade0ae3f268c6a1c9b59e2c0803aabe705a53f.tar.bz2
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().
llvm-svn: 111062
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions