]> granicus.if.org Git - clang/commit
[libclang/AST] When declaring a local class, don't neglect to set the end location
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 16 May 2012 23:49:15 +0000 (23:49 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 16 May 2012 23:49:15 +0000 (23:49 +0000)
commit5641b0d02563840c51c33b93dc663c55306093f3
tree0d46cbef982b95161251045b15304b6c4c20b8fd
parent189373170330e3d551bdb28c9762d606f3bcb931
[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
lib/Parse/ParseDecl.cpp
test/Index/get-cursor.cpp