Home
last modified time | relevance | path

Searched refs:CurClass (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprCXX.cpp95 CXXRecordDecl *CurClass = getCurrentClass(S, &SS); in getConstructorName() local
96 assert(CurClass && &II == CurClass->getIdentifier() && in getConstructorName()
102 if (CurClass->isDependentContext() && !EnteringContext && SS.getScopeRep()) { in getConstructorName()
108 if (SS.isNotEmpty() && RequireCompleteDeclContext(SS, CurClass)) in getConstructorName()
118 for (NamedDecl *ND : CurClass->lookup(&II)) { in getConstructorName()
126 if (!CurClass->isInvalidDecl()) { in getConstructorName()
130 diag::err_incomplete_nested_name_spec) << CurClass << SS.getRange(); in getConstructorName()
H A DSemaCodeComplete.cpp8671 NamedDecl *CurClass = SemaRef.LookupSingleName( in CodeCompleteObjCSuperclass() local
8673 if (CurClass && isa<ObjCInterfaceDecl>(CurClass)) in CodeCompleteObjCSuperclass()
8674 Results.Ignore(CurClass); in CodeCompleteObjCSuperclass()
8719 NamedDecl *CurClass = SemaRef.LookupSingleName( in CodeCompleteObjCInterfaceCategory() local
8722 dyn_cast_or_null<ObjCInterfaceDecl>(CurClass)) { in CodeCompleteObjCInterfaceCategory()
8750 NamedDecl *CurClass = SemaRef.LookupSingleName( in CodeCompleteObjCImplementationCategory() local
8752 ObjCInterfaceDecl *Class = dyn_cast_or_null<ObjCInterfaceDecl>(CurClass); in CodeCompleteObjCImplementationCategory()
H A DSemaDecl.cpp5848 CXXRecordDecl *CurClass = dyn_cast<CXXRecordDecl>(CurContext); in GetNameFromUnqualifiedId() local
5849 if (!CurClass || CurClass->getIdentifier() != Name.TemplateId->Name) in GetNameFromUnqualifiedId()
5853 QualType CurClassType = Context.getTypeDeclType(CurClass); in GetNameFromUnqualifiedId()
H A DSemaDeclCXX.cpp12889 auto *CurClass = cast<CXXRecordDecl>(CurContext); in BuildUsingDeclaration() local
12891 Context.getCanonicalType(Context.getRecordType(CurClass)))); in BuildUsingDeclaration()