History log of /external/clang/test/Index/get-cursor.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2fb5d1297e874d8f6d86a3586c7d25dcfb104f69 23-Apr-2013 Argyrios Kyrtzidis <akyrtzi@gmail.com> When modifying an implicit instantiation with information from an explicit one, make sure to reset the "right brace" location.

Otherwise the source range of the explicit instantiation may become invalid (begin location will be after the end location).

rdar://13706991

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180070 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/get-cursor.cpp
516143b619d1eccfef023ceaf91666803f04cc83 05-Apr-2013 Argyrios Kyrtzidis <akyrtzi@gmail.com> [libclang] Fix cursor visitation to not ignore template arguments in out-of-line member functions.

rdar://13535645

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178911 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/get-cursor.cpp
5641b0d02563840c51c33b93dc663c55306093f3 17-May-2012 Argyrios Kyrtzidis <akyrtzi@gmail.com> [libclang/AST] When declaring a local class, don't neglect to set the end location
of the DeclStmt node, otherwise libclang will not work for anything inside that
class.

rdar://10837710

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156966 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/get-cursor.cpp
d977e6b0eb4c9b57b0aad6e9e0be39cc67b3a8c7 03-Dec-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com> [libclang] Fix infinite loop when doing visitation of an OpaqueValueExpr.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145751 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/get-cursor.cpp
dcbb2fb8710459fdc8073b76a4ef73fbbcbeac9f 03-Dec-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com> [libclang] Allow indexing/get-cursor/etc. for the exception variable in a C++ catch.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145750 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/get-cursor.cpp
8fa0a80b4482ad94e82c4a19e23de17fd69140b5 04-Aug-2011 Douglas Gregor <dgregor@apple.com> Add a new libclang API to return a CXCompletionString for an arbitrary
cursor, from Connor Wakamo! Addresses <rdar://problem/9087798>.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136911 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/get-cursor.cpp
064c44b8a17d4c426b87ad1c58de81d76a13fca3 27-Jun-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com> [libclang] Avoid having the cursor of an expression replace the declaration cursor
when the expression source range overlaps the declaration range.

This can happen for C++ constructor expressions whose range generally
include the variable declaration, e.g.:

MyCXXClass foo; // Make sure pointing at 'foo' returns a VarDecl cursor.

rdar://9124499.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133930 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/get-cursor.cpp
89629a746019a42797495b091711a1d68467e88a 17-Nov-2010 Douglas Gregor <dgregor@apple.com> When libclang is walking a member access expression, don't walk into
an implicit "this"; it causes clang_getCursor() to find the implicit
"this" expression (which isn't written in the source!) rather than the
actual member.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119516 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/get-cursor.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/get-cursor.cpp
40749ee585abc84fbb3c8fdbd8aaac062f153062 03-Nov-2010 Douglas Gregor <dgregor@apple.com> Improve source-location information for CXXConstructExpr nodes, by
ensuring that they cover all of their child nodes. There's still a
clang_getCursor()-related issue with CXXFunctionalCastExprs with
CXXConstructExprs as children (see FIXME in the test case); I'll look
at that separately.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118132 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/get-cursor.cpp