Home
last modified time | relevance | path

Searched refs:ObjCMethodList (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DObjCMethodList.h25 struct ObjCMethodList { struct
30 llvm::PointerIntPair<ObjCMethodList *, 2> NextAndExtraBits; argument
32 ObjCMethodList() { } in ObjCMethodList() function
33 ObjCMethodList(ObjCMethodDecl *M) in ObjCMethodList() function
35 ObjCMethodList(const ObjCMethodList &L) in ObjCMethodList() argument
39 ObjCMethodList &operator=(const ObjCMethodList &L) {
45 ObjCMethodList *getNext() const { return NextAndExtraBits.getPointer(); } in getNext() argument
47 void setNext(ObjCMethodList *L) { NextAndExtraBits.setPointer(L); } in setNext() argument
H A DSemaObjC.h211 using Lists = std::pair<ObjCMethodList, ObjCMethodList>;
458 void addMethodToGlobalList(ObjCMethodList *List, ObjCMethodDecl *Method);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp3319 void SemaObjC::addMethodToGlobalList(ObjCMethodList *List, in addMethodToGlobalList()
3337 ObjCMethodList *Previous = List; in addMethodToGlobalList()
3338 ObjCMethodList *ListWithSameDeclaration = nullptr; in addMethodToGlobalList()
3408 ObjCMethodList *Mem = SemaRef.BumpAlloc.Allocate<ObjCMethodList>(); in addMethodToGlobalList()
3412 auto *List = new (Mem) ObjCMethodList(*ListWithSameDeclaration); in addMethodToGlobalList()
3419 Previous->setNext(new (Mem) ObjCMethodList(Method)); in addMethodToGlobalList()
3453 ObjCMethodList &Entry = instance ? Pos->second.first : Pos->second.second; in AddMethodToGlobalPool()
3525 ObjCMethodList &MethList = InstanceFirst ? Pos->second.first : in CollectMultipleMethodsInGlobalPool()
3527 for (ObjCMethodList *M = &MethList; M; M = M->getNext()) in CollectMultipleMethodsInGlobalPool()
3541 ObjCMethodList &MethList2 = InstanceFirst ? Pos->second.second : in CollectMultipleMethodsInGlobalPool()
[all …]
H A DSemaExprObjC.cpp1187 ObjCMethodList &MethList) { in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1188 ObjCMethodList *M = &MethList; in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1226 ObjCMethodList &InstMethList = b->second.first; in DiagnoseMismatchedSelectors()
1232 ObjCMethodList &ClsMethList = b->second.second; in DiagnoseMismatchedSelectors()
1240 ObjCMethodList &MethList, in LookupDirectMethodInMethodList()
1244 ObjCMethodList *M = &MethList; in LookupDirectMethodInMethodList()
H A DSemaCodeComplete.cpp8251 for (ObjCMethodList *MethList = &M->second.second; in AddClassMessageCompletions()
8426 for (ObjCMethodList *MethList = &M->second.first; in CodeCompleteObjCInstanceMessage()
9860 for (ObjCMethodList *MethList = IsInstanceMethod ? &M->second.first in CodeCompleteObjCMethodDeclSelector()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp3452 ObjCMethodList Instance, Factory;
3472 for (const ObjCMethodList *Method = &Methods.Instance; Method; in EmitKeyDataLength()
3476 for (const ObjCMethodList *Method = &Methods.Factory; Method; in EmitKeyDataLength()
3507 for (const ObjCMethodList *Method = &Methods.Instance; Method; in EmitData()
3513 for (const ObjCMethodList *Method = &Methods.Factory; Method; in EmitData()
3534 for (const ObjCMethodList *Method = &Methods.Instance; Method; in EmitData()
3538 for (const ObjCMethodList *Method = &Methods.Factory; Method; in EmitData()
3547 static bool ShouldWriteMethodListNode(const ObjCMethodList *Node) { in ShouldWriteMethodListNode()
3581 ObjCMethodList(), in WriteSelectors()
3582 ObjCMethodList() in WriteSelectors()
[all …]
H A DASTReader.cpp4247 ObjCMethodList &Start = Method->isInstanceMethod()? Known->second.first in moveMethodToBackOfGlobalList()
4250 for (ObjCMethodList *List = &Start; List; List = List->getNext()) { in moveMethodToBackOfGlobalList()
8622 ObjCMethodList &List) { in addMethodsToPool()