Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/include/clang/Sema/
H A DTypoCorrection.h156 DeclClass *getCorrectionDeclAs() const { in getCorrectionDeclAs() function
369 return candidate.getCorrectionDeclAs<C>(); in ValidateCandidate()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclObjC.cpp511 ObjCInterfaceDecl *ID = candidate.getCorrectionDeclAs<ObjCInterfaceDecl>(); in ValidateCandidate()
564 PrevDecl = Corrected.getCorrectionDeclAs<ObjCInterfaceDecl>(); in ActOnSuperClassOfClassInterface()
1310 if ((PDecl = Corrected.getCorrectionDeclAs<ObjCProtocolDecl>())) in FindProtocolDeclaration()
1359 if (candidate.getCorrectionDeclAs<ObjCProtocolDecl>()) in ValidateCandidate()
1366 if (auto typeDecl = candidate.getCorrectionDeclAs<TypeDecl>()) { in ValidateCandidate()
1387 if (candidate.getCorrectionDeclAs<ObjCInterfaceDecl>()) in ValidateCandidate()
1694 if (auto proto = corrected.getCorrectionDeclAs<ObjCProtocolDecl>()) { in actOnObjCTypeArgsOrProtocolQualifiers()
1705 if (auto typeDecl = corrected.getCorrectionDeclAs<TypeDecl>()) { in actOnObjCTypeArgsOrProtocolQualifiers()
1716 if (auto objcClass = corrected.getCorrectionDeclAs<ObjCInterfaceDecl>()) { in actOnObjCTypeArgsOrProtocolQualifiers()
1992 if (Corrected.getCorrectionDeclAs<ObjCInterfaceDecl>()) { in ActOnStartClassImplementation()
H A DSemaExprMember.cpp1371 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.cpp2376 FieldDecl *FD = candidate.getCorrectionDeclAs<FieldDecl>(); in ValidateCandidate()
2611 KnownField = Corrected.getCorrectionDeclAs<FieldDecl>(); in CheckDesignatedInitializer()
H A DSemaDeclCXX.cpp4325 if (FieldDecl *Member = Corr.getCorrectionDeclAs<FieldDecl>()) { in BuildMemInitializer()
4333 } else if (TypeDecl *Type = Corr.getCorrectionDeclAs<TypeDecl>()) { in BuildMemInitializer()
H A DSemaTemplate.cpp3953 Name = TemplateName(Corrected.getCorrectionDeclAs<TemplateDecl>()); in resolveAssumedTemplateNameAsType()
H A DSemaExpr.cpp2189 unsigned NoteID = TC.getCorrectionDeclAs<ImplicitParamDecl>() in emitEmptyLookupTypoDiagnostic()
2406 unsigned NoteID = Corrected.getCorrectionDeclAs<ImplicitParamDecl>() in DiagnoseEmptyLookup()
H A DSemaDecl.cpp2241 IDecl = C.getCorrectionDeclAs<ObjCInterfaceDecl>(); in getObjCInterfaceDecl()
H A DSemaOpenMP.cpp2996 VD = Corrected.getCorrectionDeclAs<VarDecl>(); in ActOnOpenMPIdExpression()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseStmt.cpp146 if (FieldDecl *FD = candidate.getCorrectionDeclAs<FieldDecl>()) in ValidateCandidate()
149 return candidate.getCorrectionDeclAs<VarDecl>(); in ValidateCandidate()
151 candidate.getCorrectionDeclAs<NamespaceDecl>()) in ValidateCandidate()