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/index-templates.cpp
|
8efcc0184a6dfe1ea799d3a6b9c1312ef1fac11d |
|
01-Sep-2011 |
Francois Pichet <pichet2000@gmail.com> |
Enable -fdelayed-template-parsing by default on Win32. I had to force -fno-delayed-template-parsing on some Index tests because delayed template parsing will change the output of some tests. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138942 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/index-templates.cpp
|
430d7a1a621a126a9ffe442ad8987ba02b46dae9 |
|
25-Jul-2011 |
Douglas Gregor <dgregor@apple.com> |
Added clang_getCursorReferenceNameRange to libclang to to retrieve parts of a cursor reference, from Erik Verbruggen! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135920 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/index-templates.cpp
|
ff676cb48fe8bf7be2feaa251dc7c5fb15af4730 |
|
08-Mar-2011 |
Abramo Bagnara <abramo.bagnara@gmail.com> |
Fixed source range for all DeclaratorDecl's. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127225 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/index-templates.cpp
|
344577e6b58f42d18dc8118c8903b49a85dc005e |
|
06-Mar-2011 |
Abramo Bagnara <abramo.bagnara@gmail.com> |
Fixed TypedefDecl and TemplateTypeParameter source range. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127119 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/index-templates.cpp
|
4a85a73466bfb541cd9c7b57a99292a0b6900b9b |
|
04-Mar-2011 |
Abramo Bagnara <abramo.bagnara@gmail.com> |
Fixed source range for ClassTemplateSpecializationDecl. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126999 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/index-templates.cpp
|
77d4ee2bfc90b77ec8b818de985cd4aceeef757b |
|
04-Mar-2011 |
Abramo Bagnara <abramo.bagnara@gmail.com> |
Improved TemplateTypeParmDecl end location. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126996 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/index-templates.cpp
|
ee4bfd412db491c489fc2ee74916edd73f9c618a |
|
04-Mar-2011 |
Abramo Bagnara <abramo.bagnara@gmail.com> |
Fixed end location of NonTypeTemplateParamDecl. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126994 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/index-templates.cpp
|
93798e25d68e2d146cff9bd0355d4b7b1ca765f1 |
|
05-Nov-2010 |
Douglas Gregor <dgregor@apple.com> |
Teach clang_getCursorReferenced() that a CXXConstructorExpr/CXXTemporaryObjectExpr references the constructor it calls. Then, tweak clang_getCursor() to prefer such a call over a type reference to the type being called. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118297 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/index-templates.cpp
|
1fb0caaa7bef765b85972274e3b434af2572c141 |
|
22-Oct-2010 |
John McCall <rjmccall@apple.com> |
Substantially revise how clang computes the visibility of a declaration to more closely parallel the computation of linkage. This gets us to a state much closer to what gcc emits, modulo bugs, which will undoubtedly arise in abundance. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117147 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/index-templates.cpp
|
3f0fee315cbfa37e0c47904836948e9d0cca9eda |
|
02-Oct-2010 |
Douglas Gregor <dgregor@apple.com> |
Teach clang_getCursorType() about base specifiers and other references to types. Also, teach clang_getTypeDeclaration() about template specializations, injected-class-names, and elaborated types. Fixes <rdar://problem/8506460>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@115425 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/index-templates.cpp
|
66b7fbfa7b0537fac3d61494e89a1d59979974b1 |
|
20-Sep-2010 |
Douglas Gregor <dgregor@apple.com> |
Introduce a simple, substitution-based compression scheme for USRs, so that redundant types don't result in super-long USRs. Fixes <rdar://problem/8447875>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114347 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/index-templates.cpp
|
692577cd3005922d9657a85c92e3fd68b50ddea1 |
|
17-Sep-2010 |
Douglas Gregor <dgregor@apple.com> |
When traversing an InitListExpr, there may not be a syntactic form; check for NULL and visit the InitListExpr we have if there is no syntactic form. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114203 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/index-templates.cpp
|
1f60d9ea523fc321d811fe880ba9a1ec74fa8f9b |
|
14-Sep-2010 |
Douglas Gregor <dgregor@apple.com> |
Introduce a new kind of cursor into libclang, which covers a reference to an "overloaded" set of declarations. This cursor kind works for unresolved references to functions/templates (e.g., a call within a template), using declarations, and Objective-C class and protocol forward declarations. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113805 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/index-templates.cpp
|
36897b05ca2886e287f01802614bc10cbadcec22 |
|
10-Sep-2010 |
Douglas Gregor <dgregor@apple.com> |
Add libclang support for label statements, gotos, and taking the address of a label (GNU extension). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113564 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/index-templates.cpp
|
fbb4c98a248c54d31063aa41dbfacf4f78c93f10 |
|
02-Sep-2010 |
Douglas Gregor <dgregor@apple.com> |
In libclang, visit the nested-name-specifier and explicitly-specified template arguments of a MemberExpr. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112860 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/index-templates.cpp
|
8947a7501ee34577a020591d32f701e4b0656cb7 |
|
02-Sep-2010 |
Douglas Gregor <dgregor@apple.com> |
Visit the nested-name-specifier and explicitly-specified template arguments of a DeclRefExpr. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112854 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/index-templates.cpp
|
e0329acf5c9437e2086a2fb2bf7a95ae2ac96505 |
|
02-Sep-2010 |
Douglas Gregor <dgregor@apple.com> |
Introduce a new libclang function, clang_getSpecializedCursorTemplate(), which determines the template (or member thereof) that the given cursor specializes or from which it was instantiated. This routine can be used to establish a link between templates and their instantiations/specializations. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112780 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/index-templates.cpp
|
662df6e9e5152be90a746b6b66d9959ba37fdfdd |
|
01-Sep-2010 |
Douglas Gregor <dgregor@apple.com> |
Test visiting the template parameters of template template parameters, support for which came in with the last commit. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112735 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/index-templates.cpp
|
84b51d77e11aaf6ea4607e01187343423ce6c8ae |
|
01-Sep-2010 |
Douglas Gregor <dgregor@apple.com> |
Teach libclang to visit the default arguments of template parameters. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112734 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/index-templates.cpp
|
7e24256c95afb64b4d5abf201a0f9f0527cb4cf3 |
|
01-Sep-2010 |
Douglas Gregor <dgregor@apple.com> |
Implement libclang support for using declarations. Clang actually uses three different kinds of AST nodes to represent using declarations: UsingDecl, UnresolvedUsingValueDecl, and UnresolvedUsingTypenameDecl. These three are collapsed into a single cursor kind for using declarations, since libclang clients don't need the distinction. Several related changes here: - Cursor visitation of the three AST nodes for using declarations - Proper source-range computation for these AST nodes - Using declarations have no USRs, since they don't actually declare any entities. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112730 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/index-templates.cpp
|
0ab1e9f672a86cf3f094780d99251553a2b69fc7 |
|
01-Sep-2010 |
Douglas Gregor <dgregor@apple.com> |
Improve libclang indexing support for class template specializations in a few related ways: - Don't recurse into instantiations of templates. - Recurse into explicit specializations. - Visit the template arguments of an explicit specialization or explicit instantiation. - Include template specialization arguments in the USRs for class template specializations. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112720 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/index-templates.cpp
|
0b36e614aa19df72885d5e0de996f7fbb9874ec3 |
|
31-Aug-2010 |
Douglas Gregor <dgregor@apple.com> |
Extend libclang with a new cursor kind that indicates a reference to a template. Such cursors occur, for example, in template specialization types such as vector<int>. Note that we do not handle the super-interesting case where the template name is unresolved, e.g., within a template. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112636 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/index-templates.cpp
|
74dbe640021d96a8dbb85c592471c04449ade81c |
|
31-Aug-2010 |
Douglas Gregor <dgregor@apple.com> |
Add libclang support for class template partial specializations, including a cursor kind, visitation, and USRs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112629 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/index-templates.cpp
|
39d6f07b056c31e1e6b5946165ed4b23e7887f22 |
|
31-Aug-2010 |
Douglas Gregor <dgregor@apple.com> |
Add a libclang cursor kind, visitation support and USR support for C++ class templates. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112627 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/index-templates.cpp
|
fe72e9ceeae6cc8669cd8bb722425300190638ea |
|
31-Aug-2010 |
Douglas Gregor <dgregor@apple.com> |
Implement basic support for indexing function templates in libclang. This includes: - Cursor kind for function templates, with visitation logic - Cursor kinds for template parameters, with visitation logic - Visitation logic for template specialization types, qualified type locations - USR generation for function templates, template specialization types, template parameter types. Also happens to fix PR7804, which I tripped across while testing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112604 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/index-templates.cpp
|