[Doc parsing] This patch searches overridden objc/c++
authorFariborz Jahanian <fjahanian@apple.com>
Wed, 10 Oct 2012 18:34:52 +0000 (18:34 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Wed, 10 Oct 2012 18:34:52 +0000 (18:34 +0000)
commit1c883b9b57001a73bc1f3db7536d2555eb78de5a
tree2e00f167f2bb742ff2620d9efad6ce2e1e9cfe06
parent4f465cff8a1591a821d13c7fb34bfc56c1d1d96f
[Doc parsing] This patch searches overridden objc/c++
methods looking for documentation on a particular base
class inherited by any method that overrides the base class.
In case of redeclaration, as when objc method is defined
in the implementation, it also looks up for documentation
in class/class extension being redeclared.

llvm-svn: 165643
clang/include/clang/AST/Comment.h
clang/include/clang/AST/DeclObjC.h
clang/lib/AST/ASTContext.cpp
clang/lib/AST/Comment.cpp
clang/lib/AST/CommentDumper.cpp
clang/lib/AST/CommentSema.cpp
clang/lib/AST/DeclObjC.cpp
clang/test/Index/overriding-method-comments.mm [new file with mode: 0644]
clang/tools/libclang/CXComment.cpp
clang/unittests/AST/CommentParser.cpp