Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
075f8f1b6bed4d1b224c74f87508534cc6392ce6
/
test
/
Index
/
annotate-tokens-pp.c
a9b06d4
ntroduce clang_getSpellingLocation() into libclang, to provide the
by Douglas Gregor
· 14 years ago
4419b67
Improve the implementation of libclang's token-annotation logic for
by Douglas Gregor
· 14 years ago
ecdcb88
Extend the preprocessing record and libclang with support for
by Douglas Gregor
· 14 years ago
23bc11f
Always recurse into sub-cursors when annotating tokens, as this information is used for annotating macro arguments. This finishes up <rdar://problem/8044584>.
by Ted Kremenek
· 14 years ago
3f40460
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().
by Ted Kremenek
· 14 years ago
3c26684
Try to appease MSVC's standard library
by Douglas Gregor
· 15 years ago
1a1f85a
Try to appease MSVC
by Douglas Gregor
· 15 years ago
bf7efa2
Explicitly link macro instantiations to macro definitions in the
by Douglas Gregor
· 15 years ago
572feb2
Expose macro definitions as CIndex cursors. These can still only be
by Douglas Gregor
· 15 years ago
4ae8f29
Introduce the notion of a "preprocessing record", which keeps track of
by Douglas Gregor
· 15 years ago
4807231
More token-annotation experimentation, preprocessing the annotated
by Douglas Gregor
· 15 years ago
9f1e3ff
Experimental stab at using relexing to identify preprocessor
by Douglas Gregor
· 15 years ago