clang API Documentation
#include "clang/AST/DeclObjC.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/ASTMutationListener.h"
#include "clang/AST/Attr.h"
#include "clang/AST/Stmt.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
Go to the source code of this file.
Functions | |
static bool | isIntroducingInitializers (const ObjCInterfaceDecl *D) |
static void | CollectOverriddenMethodsRecurse (const ObjCContainerDecl *Container, const ObjCMethodDecl *Method, SmallVectorImpl< const ObjCMethodDecl * > &Methods, bool MovedToSuper) |
static void | CollectOverriddenMethods (const ObjCContainerDecl *Container, const ObjCMethodDecl *Method, SmallVectorImpl< const ObjCMethodDecl * > &Methods) |
static void | collectOverriddenMethodsSlow (const ObjCMethodDecl *Method, SmallVectorImpl< const ObjCMethodDecl * > &overridden) |
static void CollectOverriddenMethods | ( | const ObjCContainerDecl * | Container, |
const ObjCMethodDecl * | Method, | ||
SmallVectorImpl< const ObjCMethodDecl * > & | Methods | ||
) | [inline, static] |
Definition at line 1032 of file DeclObjC.cpp.
References CollectOverriddenMethodsRecurse().
Referenced by collectOverriddenMethodsSlow().
static void CollectOverriddenMethodsRecurse | ( | const ObjCContainerDecl * | Container, |
const ObjCMethodDecl * | Method, | ||
SmallVectorImpl< const ObjCMethodDecl * > & | Methods, | ||
bool | MovedToSuper | ||
) | [static] |
Definition at line 970 of file DeclObjC.cpp.
References clang::ObjCContainerDecl::getMethod(), clang::ObjCMethodDecl::getSelector(), clang::ObjCInterfaceDecl::getSuperClass(), clang::ObjCMethodDecl::isInstanceMethod(), and P.
Referenced by CollectOverriddenMethods().
static void collectOverriddenMethodsSlow | ( | const ObjCMethodDecl * | Method, |
SmallVectorImpl< const ObjCMethodDecl * > & | overridden | ||
) | [static] |
Definition at line 1039 of file DeclObjC.cpp.
References CollectOverriddenMethods(), clang::Decl::getDeclContext(), clang::ObjCContainerDecl::getMethod(), clang::ObjCMethodDecl::getSelector(), clang::ObjCMethodDecl::isInstanceMethod(), and clang::ObjCMethodDecl::isOverriding().
Referenced by clang::ObjCMethodDecl::getOverriddenMethods().
static bool isIntroducingInitializers | ( | const ObjCInterfaceDecl * | D | ) | [static] |
Definition at line 356 of file DeclObjC.cpp.
References clang::ObjCInterfaceDecl::getImplementation(), clang::ObjCContainerDecl::instance_methods(), clang::OMF_init, and clang::ObjCInterfaceDecl::visible_extensions().