82064213e9ef308e9a929ecfb31f4698a834ecdd |
|
13-Feb-2013 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[libclang] Fix annotation of a range where the begin or end location is inside a macro argument. Previously we would give up and not annotate anything in the range. rdar://11891550 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175062 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/annotate-tokens.c
|
a86b37e223a21647175619096e67d0f650add351 |
|
08-Feb-2013 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[libclang] Attribute visitation happens out-of-source-order, make sure we annotate properly when there is an attribute and not skip type specs if the attribute is after the declaration. rdar://13129077 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174689 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/annotate-tokens.c
|
e9de485169b76acba3a3cb16399fa3d63e43ec2c |
|
07-Jan-2013 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[libclang] Make token annotation of type/storage qualifiers accurate. Previously type/storage qualifiers would not be annotated as the declaration they belonged to. Just use the resulting source range of getRawCursorExtent() which is more correct than what AnnotateTokensWorker::Visit() was adjusting it to. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171774 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/annotate-tokens.c
|
42b2984771a7fd1b17c78bbb2c59fed3db2f1960 |
|
05-Oct-2011 |
Douglas Gregor <dgregor@apple.com> |
Expose more statement, expression, and declaration kinds in libclang, from Manuel Holtgrewe! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141200 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/annotate-tokens.c
|
c2954616fbd11f5a6117236f58420029b773a639 |
|
13-Sep-2011 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[libclang] For getDeclFromExpr in CIndex.cpp, associate the decl of a DeclRefExpr, MemberExpr, etc. with a CastExpr if it is ImplicitCast, since the implicit cast is the one that is invisible in source code. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139547 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/annotate-tokens.c
|
0daaf32723ac78549c507c2a68a5300502703673 |
|
16-Mar-2011 |
Abramo Bagnara <abramo.bagnara@gmail.com> |
Use ElaboratedType also for C. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127755 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/annotate-tokens.c
|
0a9beb52baa6c990d45d638a177d9456e650282a |
|
02-Mar-2011 |
Douglas Gregor <dgregor@apple.com> |
Force CaseStmt to store its child statements in source-code order, which is important for libclang's token-annotation and where's-my-cursor functionality. Fixes <rdar://problem/9004439>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126887 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/annotate-tokens.c
|
c7b5ed6da7410849b51ba9a9ea04d2cc7b720f48 |
|
17-Dec-2010 |
Douglas Gregor <dgregor@apple.com> |
Swap the order of the condition and body of a do-while statement in the AST, so that we visit them in source order. Fixes <rdar://problem/8779113>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122062 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/annotate-tokens.c
|
648220ed00711a0fb8ea4a1ab6896a4ee63d8fc5 |
|
10-Aug-2010 |
Douglas Gregor <dgregor@apple.com> |
Teach the libclang cursor visitor to walk into the type information provided by __builtin_types_compatible_p and __builtin_va_arg expressions, now that Abramo has added proper type-source information to those expressions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110681 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/annotate-tokens.c
|
fbd84caf62a21afa4db5f730e2e2603ead17bb65 |
|
05-May-2010 |
Ted Kremenek <kremenek@apple.com> |
Rework clang_annotateTokens() to annotate tokens with information that more closely matches clang_getCursor(). Tokens are now annotated with the cursor (for the matching AST element) that most closely encompasses that token. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103064 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/annotate-tokens.c
|
d1eabfb15c87837c57d1eb658d75a1f48d6fd5ed |
|
27-Feb-2010 |
Douglas Gregor <dgregor@apple.com> |
Robustify SourceManager::getLocation(), so that it returns an end-of-line source location when given a column number beyond the length of the line, or an end-of-file source location when given a line number beyond the length of the file. Previously, we would return an invalid location. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97299 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/annotate-tokens.c
|
8f0bf81c0f3ab31881cc7db7914e6978bb2a19af |
|
14-Feb-2010 |
Daniel Dunbar <daniel@zuster.org> |
c-index-test: Unify and always print half-open extents. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96160 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/annotate-tokens.c
|
0045e9fe1f7dfc37f1ea7bdb9b70bcdb6700f0c0 |
|
26-Jan-2010 |
Douglas Gregor <dgregor@apple.com> |
Implement clang_annotateTokens(), which associates cursors with each of the tokens within a raw token stream. This does not even attempt to handle macros yet. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94561 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/annotate-tokens.c
|
fc8ea23eb6cbaaa5046f2abb4c033e24c8659efd |
|
26-Jan-2010 |
Douglas Gregor <dgregor@apple.com> |
Introduce a CIndex API for lexing the raw tokens within a given source range. The token-annotation function does nothing, yet. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94551 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/annotate-tokens.c
|