commit | 5517b89953e3c9276f161ce29831de388bb2573d | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Mon Jun 27 19:42:20 2011 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Mon Jun 27 19:42:20 2011 +0000 |
tree | 50c66de16abc1643a32809fc7315150701945a0d | |
parent | 3f4be6fb8872942f567166ab8d99c89885f26103 [diff] |
[libclang] Avoid having the cursor of an expression "overwrite" the annotation of the variable declaration that it belongs to. This can happen for C++ constructor expressions whose range generally include the variable declaration, e.g.: MyCXXClass foo; // Make sure we don't annotate 'foo' as a CallExpr cursor. rdar://9124499. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133929 91177308-0d34-0410-b5e6-96231b3b80d8