Home
last modified time | relevance | path

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

/src/contrib/llvm-project/clang/include/clang/Sema/
H A DTypoCorrection.h156 DeclClass *getCorrectionDeclAs() const { in getCorrectionDeclAs() function
373 return candidate.getCorrectionDeclAs<C>(); in ValidateCandidate()
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp523 ObjCInterfaceDecl *ID = candidate.getCorrectionDeclAs<ObjCInterfaceDecl>(); in ValidateCandidate()
572 PrevDecl = Corrected.getCorrectionDeclAs<ObjCInterfaceDecl>(); in ActOnSuperClassOfClassInterface()
1323 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()
1704 if (auto proto = corrected.getCorrectionDeclAs<ObjCProtocolDecl>()) { in actOnObjCTypeArgsOrProtocolQualifiers()
1715 if (auto typeDecl = corrected.getCorrectionDeclAs<TypeDecl>()) { in actOnObjCTypeArgsOrProtocolQualifiers()
1726 if (auto objcClass = corrected.getCorrectionDeclAs<ObjCInterfaceDecl>()) { in actOnObjCTypeArgsOrProtocolQualifiers()
2006 if (Corrected.getCorrectionDeclAs<ObjCInterfaceDecl>()) { in ActOnStartClassImplementation()
[all …]
H A DSemaExprMember.cpp1418 IV = Corrected.getCorrectionDeclAs<ObjCIvarDecl>(); in LookupMemberExpr()
H A DSemaExprObjC.cpp2284 return candidate.getCorrectionDeclAs<ObjCInterfaceDecl>() || in ValidateCandidate()
2376 Corrected.getCorrectionDeclAs<ObjCInterfaceDecl>()) { in getObjCMessageKind()
H A DSemaInit.cpp2630 FieldDecl *FD = candidate.getCorrectionDeclAs<FieldDecl>(); in ValidateCandidate()
2870 KnownField = Corrected.getCorrectionDeclAs<FieldDecl>(); in CheckDesignatedInitializer()
H A DSemaDeclCXX.cpp4416 if (FieldDecl *Member = Corr.getCorrectionDeclAs<FieldDecl>()) { in BuildMemInitializer()
4424 } else if (TypeDecl *Type = Corr.getCorrectionDeclAs<TypeDecl>()) { in BuildMemInitializer()
H A DSemaTemplate.cpp3544 Name = TemplateName(Corrected.getCorrectionDeclAs<TemplateDecl>()); in resolveAssumedTemplateNameAsType()
H A DSemaExpr.cpp2362 unsigned NoteID = TC.getCorrectionDeclAs<ImplicitParamDecl>() in emitEmptyLookupTypoDiagnostic()
2570 unsigned NoteID = Corrected.getCorrectionDeclAs<ImplicitParamDecl>() in DiagnoseEmptyLookup()
H A DSemaOpenMP.cpp3108 VD = Corrected.getCorrectionDeclAs<VarDecl>(); in ActOnOpenMPIdExpression()
/src/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp156 if (FieldDecl *FD = candidate.getCorrectionDeclAs<FieldDecl>()) in ValidateCandidate()
159 return candidate.getCorrectionDeclAs<VarDecl>(); in ValidateCandidate()
161 candidate.getCorrectionDeclAs<NamespaceDecl>()) in ValidateCandidate()