llvm-project/clang/tools
Argyrios Kyrtzidis d289104e29 [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.

llvm-svn: 133930
2011-06-27 19:42:23 +00:00
..
arcmt-test tools/arcmt-test: Don't attempt to link redundant libclang (clang-c). 2011-06-18 08:52:27 +00:00
c-index-test Remove ARCMigrate from more builds that it isn't needed in now that the 2011-06-16 23:53:28 +00:00
driver The ARC Migration Tool. All the credit goes to Argyrios and Fariborz 2011-06-15 23:25:17 +00:00
libclang [libclang] Avoid having the cursor of an expression replace the declaration cursor 2011-06-27 19:42:23 +00:00
scan-build The ARC Migration Tool. All the credit goes to Argyrios and Fariborz 2011-06-15 23:25:17 +00:00
scan-view Fix call to send_error() in scan-view. An int error code is expected but a string was being sent. Patch by Andrew Price! 2011-02-21 19:26:48 +00:00
CMakeLists.txt The ARC Migration Tool. All the credit goes to Argyrios and Fariborz 2011-06-15 23:25:17 +00:00
Makefile The ARC Migration Tool. All the credit goes to Argyrios and Fariborz 2011-06-15 23:25:17 +00:00