Home
last modified time | relevance | path

Searched refs:getCorrectionDeclAs (Results 1 – 11 of 11) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DTypoCorrection.h156 DeclClass *getCorrectionDeclAs() const { in getCorrectionDeclAs() function
373 return candidate.getCorrectionDeclAs<C>(); in ValidateCandidate()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp511 ObjCInterfaceDecl *ID = candidate.getCorrectionDeclAs<ObjCInterfaceDecl>(); in ValidateCandidate()
564 PrevDecl = Corrected.getCorrectionDeclAs<ObjCInterfaceDecl>(); in ActOnSuperClassOfClassInterface()
1324 if ((PDecl = Corrected.getCorrectionDeclAs<ObjCProtocolDecl>())) in FindProtocolDeclaration()
1373 if (candidate.getCorrectionDeclAs<ObjCProtocolDecl>()) in ValidateCandidate()
1380 if (auto typeDecl = candidate.getCorrectionDeclAs<TypeDecl>()) { in ValidateCandidate()
1401 if (candidate.getCorrectionDeclAs<ObjCInterfaceDecl>()) in ValidateCandidate()
1708 if (auto proto = corrected.getCorrectionDeclAs<ObjCProtocolDecl>()) { in actOnObjCTypeArgsOrProtocolQualifiers()
1719 if (auto typeDecl = corrected.getCorrectionDeclAs<TypeDecl>()) { in actOnObjCTypeArgsOrProtocolQualifiers()
1730 if (auto objcClass = corrected.getCorrectionDeclAs<ObjCInterfaceDecl>()) { in actOnObjCTypeArgsOrProtocolQualifiers()
2006 if (Corrected.getCorrectionDeclAs<ObjCInterfaceDecl>()) { in ActOnStartClassImplementation()
H A DSemaExprMember.cpp1404 IV = Corrected.getCorrectionDeclAs<ObjCIvarDecl>(); in LookupMemberExpr()
H A DSemaExprObjC.cpp2273 return candidate.getCorrectionDeclAs<ObjCInterfaceDecl>() || in ValidateCandidate()
2366 Corrected.getCorrectionDeclAs<ObjCInterfaceDecl>()) { in getObjCMessageKind()
H A DSemaInit.cpp2491 FieldDecl *FD = candidate.getCorrectionDeclAs<FieldDecl>(); in ValidateCandidate()
2731 KnownField = Corrected.getCorrectionDeclAs<FieldDecl>(); in CheckDesignatedInitializer()
H A DSemaDeclCXX.cpp4562 if (FieldDecl *Member = Corr.getCorrectionDeclAs<FieldDecl>()) { in BuildMemInitializer()
4570 } else if (TypeDecl *Type = Corr.getCorrectionDeclAs<TypeDecl>()) { in BuildMemInitializer()
H A DSemaExpr.cpp2386 unsigned NoteID = TC.getCorrectionDeclAs<ImplicitParamDecl>() in emitEmptyLookupTypoDiagnostic()
2605 unsigned NoteID = Corrected.getCorrectionDeclAs<ImplicitParamDecl>() in DiagnoseEmptyLookup()
H A DSemaTemplate.cpp4234 Name = TemplateName(Corrected.getCorrectionDeclAs<TemplateDecl>()); in resolveAssumedTemplateNameAsType()
H A DSemaDecl.cpp2369 IDecl = C.getCorrectionDeclAs<ObjCInterfaceDecl>(); in getObjCInterfaceDecl()
H A DSemaOpenMP.cpp3071 VD = Corrected.getCorrectionDeclAs<VarDecl>(); in ActOnOpenMPIdExpression()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp150 if (FieldDecl *FD = candidate.getCorrectionDeclAs<FieldDecl>()) in ValidateCandidate()
153 return candidate.getCorrectionDeclAs<VarDecl>(); in ValidateCandidate()
155 candidate.getCorrectionDeclAs<NamespaceDecl>()) in ValidateCandidate()