clang-1/tools
Argyrios Kyrtzidis 044e645605 [libclang] Enhance clang_getOverriddenCursors.
Basically the current design is:
-for an implementation method, show as overridden the interface method.
  This is not useful, and is inconsistent with the C++ side
-for an interface method, show as overridden the protocols methods (this is desirable)
  and the methods from the categories; methods from categories are not useful
  since they are considered the same method (same USR).
-If there is a protocol method or category method reported, it does not check the
  super class for overridden methods. This is really problematic since
  overridden methods from super class is what we want to give back.

Change clang_getOverriddenCursors to show as overridden any method in the class's
base class, its protocols, or its categories' protocols, that has the same
selector and is of the same kind (class or instance).
If no such method exists, the search continues to the class's superclass,
its protocols, and its categories, and so on. A method from an Objective-C
implementation is considered to override the same methods as its
corresponding method in the interface.

rdar://10967206

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152270 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-08 00:20:03 +00:00
..
arcmt-test Add new code migrator support for migrating existing Objective-C code to use 2012-03-06 20:06:33 +00:00
c-arcmt-test Add new code migrator support for migrating existing Objective-C code to use 2012-03-06 20:06:33 +00:00
c-index-test [libclang] When indexing an objc property, also provide information about 2012-02-28 17:50:33 +00:00
diagtool Provide common include for all diagnostic headers. 2012-02-15 21:58:34 +00:00
driver Add new code migrator support for migrating existing Objective-C code to use 2012-03-06 20:06:33 +00:00
libclang [libclang] Enhance clang_getOverriddenCursors. 2012-03-08 00:20:03 +00:00
scan-build Add static analyzer support for new NSArray/NSDictionary/NSNumber literals. 2012-03-06 20:06:12 +00:00
scan-view
CMakeLists.txt
Makefile Misc Minix-specific changes to clang: 2011-12-08 23:54:21 +00:00