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.cpp74 CXXRecordDecl *CurClass = getCurrentClass(S, &SS); in getConstructorName() local
75 assert(CurClass && &II == CurClass->getIdentifier() && in getConstructorName()
81 if (CurClass->isDependentContext() && !EnteringContext && SS.getScopeRep()) { in getConstructorName()
87 if (SS.isNotEmpty() && RequireCompleteDeclContext(SS, CurClass)) in getConstructorName()
97 for (NamedDecl *ND : CurClass->lookup(&II)) { in getConstructorName()
105 if (!CurClass->isInvalidDecl()) { in getConstructorName()
109 diag::err_incomplete_nested_name_spec) << CurClass << SS.getRange(); in getConstructorName()
H A DSemaCodeComplete.cpp8819 NamedDecl *CurClass = SemaRef.LookupSingleName( in CodeCompleteObjCSuperclass() local
8821 if (CurClass && isa<ObjCInterfaceDecl>(CurClass)) in CodeCompleteObjCSuperclass()
8822 Results.Ignore(CurClass); in CodeCompleteObjCSuperclass()
8867 NamedDecl *CurClass = SemaRef.LookupSingleName( in CodeCompleteObjCInterfaceCategory() local
8870 dyn_cast_or_null<ObjCInterfaceDecl>(CurClass)) { in CodeCompleteObjCInterfaceCategory()
8898 NamedDecl *CurClass = SemaRef.LookupSingleName( in CodeCompleteObjCImplementationCategory() local
8900 ObjCInterfaceDecl *Class = dyn_cast_or_null<ObjCInterfaceDecl>(CurClass); in CodeCompleteObjCImplementationCategory()
H A DSemaDecl.cpp5962 CXXRecordDecl *CurClass = dyn_cast<CXXRecordDecl>(CurContext); in GetNameFromUnqualifiedId() local
5963 if (!CurClass || CurClass->getIdentifier() != Name.TemplateId->Name) in GetNameFromUnqualifiedId()
5967 QualType CurClassType = Context.getTypeDeclType(CurClass); in GetNameFromUnqualifiedId()
H A DSemaDeclCXX.cpp13221 auto *CurClass = cast<CXXRecordDecl>(CurContext); in BuildUsingDeclaration() local
13223 Context.getCanonicalType(Context.getRecordType(CurClass)))); in BuildUsingDeclaration()