clang 22.0.0git
DeclObjC.cpp File Reference
#include "clang/AST/DeclObjC.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/ASTMutationListener.h"
#include "clang/AST/Attr.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclBase.h"
#include "clang/AST/ODRHash.h"
#include "clang/AST/Stmt.h"
#include "clang/AST/Type.h"
#include "clang/AST/TypeLoc.h"
#include "clang/Basic/IdentifierTable.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/SourceLocation.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
#include <cstdint>
#include <cstring>
#include <queue>
#include <utility>

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)

Function Documentation

◆ CollectOverriddenMethods()

void CollectOverriddenMethods ( const ObjCContainerDecl * Container,
const ObjCMethodDecl * Method,
SmallVectorImpl< const ObjCMethodDecl * > & Methods )
inlinestatic

Definition at line 1309 of file DeclObjC.cpp.

References CollectOverriddenMethodsRecurse().

Referenced by collectOverriddenMethodsSlow().

◆ CollectOverriddenMethodsRecurse()

void CollectOverriddenMethodsRecurse ( const ObjCContainerDecl * Container,
const ObjCMethodDecl * Method,
SmallVectorImpl< const ObjCMethodDecl * > & Methods,
bool MovedToSuper )
static

◆ collectOverriddenMethodsSlow()

void collectOverriddenMethodsSlow ( const ObjCMethodDecl * Method,
SmallVectorImpl< const ObjCMethodDecl * > & overridden )
static

Definition at line 1316 of file DeclObjC.cpp.

References CollectOverriddenMethods().

Referenced by clang::ObjCMethodDecl::getOverriddenMethods().

◆ isIntroducingInitializers()