Skip to content
Commit f4ade0ae authored by Ted Kremenek's avatar Ted Kremenek
Browse files

As a heuristic, annotate tokens (via clang_annotateTokens) that are the...

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
parent aa445c07
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment