clang  3.7.0
Public Member Functions | Public Attributes | List of all members
clang::ObjCMethodList Struct Reference

a linked list of methods with the same selector name but different signatures. More...

#include <ObjCMethodList.h>

Collaboration diagram for clang::ObjCMethodList:
[legend]

Public Member Functions

 ObjCMethodList ()
 
 ObjCMethodList (ObjCMethodDecl *M)
 
ObjCMethodListgetNext () const
 
unsigned getBits () const
 
void setNext (ObjCMethodList *L)
 
void setBits (unsigned B)
 
ObjCMethodDeclgetMethod () const
 
void setMethod (ObjCMethodDecl *M)
 
bool hasMoreThanOneDecl () const
 
void setHasMoreThanOneDecl (bool B)
 

Public Attributes

llvm::PointerIntPair
< ObjCMethodDecl *, 1 > 
MethodAndHasMoreThanOneDecl
 If there is more than one decl with this signature. More...
 
llvm::PointerIntPair
< ObjCMethodList *, 2 > 
NextAndExtraBits
 The next list object and 2 bits for extra info. More...
 

Detailed Description

a linked list of methods with the same selector name but different signatures.

Definition at line 25 of file ObjCMethodList.h.

Constructor & Destructor Documentation

clang::ObjCMethodList::ObjCMethodList ( )
inline

Definition at line 32 of file ObjCMethodList.h.

clang::ObjCMethodList::ObjCMethodList ( ObjCMethodDecl M)
inline

Definition at line 33 of file ObjCMethodList.h.

Member Function Documentation

unsigned clang::ObjCMethodList::getBits ( ) const
inline
ObjCMethodDecl* clang::ObjCMethodList::getMethod ( ) const
inline
ObjCMethodList* clang::ObjCMethodList::getNext ( ) const
inline
bool clang::ObjCMethodList::hasMoreThanOneDecl ( ) const
inline

Definition at line 48 of file ObjCMethodList.h.

References MethodAndHasMoreThanOneDecl.

Referenced by clang::Sema::AreMultipleMethodsInGlobalPool().

void clang::ObjCMethodList::setBits ( unsigned  B)
inline

Definition at line 39 of file ObjCMethodList.h.

References NextAndExtraBits.

Referenced by clang::Sema::addMethodToGlobalList().

void clang::ObjCMethodList::setHasMoreThanOneDecl ( bool  B)
inline

Definition at line 51 of file ObjCMethodList.h.

References MethodAndHasMoreThanOneDecl.

Referenced by clang::Sema::addMethodToGlobalList().

void clang::ObjCMethodList::setMethod ( ObjCMethodDecl M)
inline

Definition at line 44 of file ObjCMethodList.h.

References MethodAndHasMoreThanOneDecl.

Referenced by clang::Sema::addMethodToGlobalList().

void clang::ObjCMethodList::setNext ( ObjCMethodList L)
inline

Definition at line 38 of file ObjCMethodList.h.

References NextAndExtraBits.

Referenced by clang::Sema::addMethodToGlobalList().

Member Data Documentation

llvm::PointerIntPair<ObjCMethodDecl *, 1> clang::ObjCMethodList::MethodAndHasMoreThanOneDecl

If there is more than one decl with this signature.

Definition at line 28 of file ObjCMethodList.h.

Referenced by getMethod(), hasMoreThanOneDecl(), setHasMoreThanOneDecl(), and setMethod().

llvm::PointerIntPair<ObjCMethodList *, 2> clang::ObjCMethodList::NextAndExtraBits

The next list object and 2 bits for extra info.

Definition at line 30 of file ObjCMethodList.h.

Referenced by getBits(), getNext(), setBits(), and setNext().


The documentation for this struct was generated from the following file: