Home
last modified time | relevance | path

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

/external/clang/include/clang/Sema/
DTypoCorrection.h144 DeclClass *getCorrectionDeclAs() const { in getCorrectionDeclAs() function
326 return candidate.getCorrectionDeclAs<C>(); in ValidateCandidate()
/external/llvm-project/clang/include/clang/Sema/
DTypoCorrection.h156 DeclClass *getCorrectionDeclAs() const { in getCorrectionDeclAs() function
369 return candidate.getCorrectionDeclAs<C>(); in ValidateCandidate()
/external/clang/lib/Sema/
DSemaDeclObjC.cpp441 ObjCInterfaceDecl *ID = candidate.getCorrectionDeclAs<ObjCInterfaceDecl>(); in ValidateCandidate()
488 PrevDecl = Corrected.getCorrectionDeclAs<ObjCInterfaceDecl>(); in ActOnSuperClassOfClassInterface()
1218 if ((PDecl = Corrected.getCorrectionDeclAs<ObjCProtocolDecl>())) in FindProtocolDeclaration()
1266 if (candidate.getCorrectionDeclAs<ObjCProtocolDecl>()) in ValidateCandidate()
1273 if (auto typeDecl = candidate.getCorrectionDeclAs<TypeDecl>()) { in ValidateCandidate()
1294 if (candidate.getCorrectionDeclAs<ObjCInterfaceDecl>()) in ValidateCandidate()
1601 if (auto proto = corrected.getCorrectionDeclAs<ObjCProtocolDecl>()) { in actOnObjCTypeArgsOrProtocolQualifiers()
1612 if (auto typeDecl = corrected.getCorrectionDeclAs<TypeDecl>()) { in actOnObjCTypeArgsOrProtocolQualifiers()
1623 if (auto objcClass = corrected.getCorrectionDeclAs<ObjCInterfaceDecl>()) { in actOnObjCTypeArgsOrProtocolQualifiers()
1895 if (Corrected.getCorrectionDeclAs<ObjCInterfaceDecl>()) { in ActOnStartClassImplementation()
DSemaExprMember.cpp1394 IV = Corrected.getCorrectionDeclAs<ObjCIvarDecl>(); in LookupMemberExpr()
DSemaExprObjC.cpp2047 return candidate.getCorrectionDeclAs<ObjCInterfaceDecl>() || in ValidateCandidate()
2136 Corrected.getCorrectionDeclAs<ObjCInterfaceDecl>()) { in getObjCMessageKind()
DSemaInit.cpp1995 FieldDecl *FD = candidate.getCorrectionDeclAs<FieldDecl>(); in ValidateCandidate()
2214 KnownField = Corrected.getCorrectionDeclAs<FieldDecl>(); in CheckDesignatedInitializer()
DSemaDeclCXX.cpp2951 if (FieldDecl *Member = Corr.getCorrectionDeclAs<FieldDecl>()) { in BuildMemInitializer()
2959 } else if (TypeDecl *Type = Corr.getCorrectionDeclAs<TypeDecl>()) { in BuildMemInitializer()
DSemaExpr.cpp1843 unsigned NoteID = TC.getCorrectionDeclAs<ImplicitParamDecl>() in emitEmptyLookupTypoDiagnostic()
2027 unsigned NoteID = Corrected.getCorrectionDeclAs<ImplicitParamDecl>() in DiagnoseEmptyLookup()
DSemaOpenMP.cpp1170 VD = Corrected.getCorrectionDeclAs<VarDecl>(); in ActOnOpenMPIdExpression()
DSemaDecl.cpp1702 IDecl = C.getCorrectionDeclAs<ObjCInterfaceDecl>(); in getObjCInterfaceDecl()
/external/llvm-project/clang/lib/Sema/
DSemaDeclObjC.cpp511 ObjCInterfaceDecl *ID = candidate.getCorrectionDeclAs<ObjCInterfaceDecl>(); in ValidateCandidate()
564 PrevDecl = Corrected.getCorrectionDeclAs<ObjCInterfaceDecl>(); in ActOnSuperClassOfClassInterface()
1308 if ((PDecl = Corrected.getCorrectionDeclAs<ObjCProtocolDecl>())) in FindProtocolDeclaration()
1357 if (candidate.getCorrectionDeclAs<ObjCProtocolDecl>()) in ValidateCandidate()
1364 if (auto typeDecl = candidate.getCorrectionDeclAs<TypeDecl>()) { in ValidateCandidate()
1385 if (candidate.getCorrectionDeclAs<ObjCInterfaceDecl>()) in ValidateCandidate()
1692 if (auto proto = corrected.getCorrectionDeclAs<ObjCProtocolDecl>()) { in actOnObjCTypeArgsOrProtocolQualifiers()
1703 if (auto typeDecl = corrected.getCorrectionDeclAs<TypeDecl>()) { in actOnObjCTypeArgsOrProtocolQualifiers()
1714 if (auto objcClass = corrected.getCorrectionDeclAs<ObjCInterfaceDecl>()) { in actOnObjCTypeArgsOrProtocolQualifiers()
1990 if (Corrected.getCorrectionDeclAs<ObjCInterfaceDecl>()) { in ActOnStartClassImplementation()
DSemaExprMember.cpp1355 IV = Corrected.getCorrectionDeclAs<ObjCIvarDecl>(); in LookupMemberExpr()
DSemaExprObjC.cpp2272 return candidate.getCorrectionDeclAs<ObjCInterfaceDecl>() || in ValidateCandidate()
2365 Corrected.getCorrectionDeclAs<ObjCInterfaceDecl>()) { in getObjCMessageKind()
DSemaInit.cpp2319 FieldDecl *FD = candidate.getCorrectionDeclAs<FieldDecl>(); in ValidateCandidate()
2554 KnownField = Corrected.getCorrectionDeclAs<FieldDecl>(); in CheckDesignatedInitializer()
DSemaDeclCXX.cpp4246 if (FieldDecl *Member = Corr.getCorrectionDeclAs<FieldDecl>()) { in BuildMemInitializer()
4254 } else if (TypeDecl *Type = Corr.getCorrectionDeclAs<TypeDecl>()) { in BuildMemInitializer()
DSemaExpr.cpp2124 unsigned NoteID = TC.getCorrectionDeclAs<ImplicitParamDecl>() in emitEmptyLookupTypoDiagnostic()
2341 unsigned NoteID = Corrected.getCorrectionDeclAs<ImplicitParamDecl>() in DiagnoseEmptyLookup()
DSemaTemplate.cpp3863 Name = TemplateName(Corrected.getCorrectionDeclAs<TemplateDecl>()); in resolveAssumedTemplateNameAsType()
DSemaDecl.cpp1993 IDecl = C.getCorrectionDeclAs<ObjCInterfaceDecl>(); in getObjCInterfaceDecl()
DSemaOpenMP.cpp2795 VD = Corrected.getCorrectionDeclAs<VarDecl>(); in ActOnOpenMPIdExpression()
/external/clang/lib/Parse/
DParseStmt.cpp139 if (FieldDecl *FD = candidate.getCorrectionDeclAs<FieldDecl>()) in ValidateCandidate()
142 return candidate.getCorrectionDeclAs<VarDecl>(); in ValidateCandidate()
144 candidate.getCorrectionDeclAs<NamespaceDecl>()) in ValidateCandidate()
/external/llvm-project/clang/lib/Parse/
DParseStmt.cpp133 if (FieldDecl *FD = candidate.getCorrectionDeclAs<FieldDecl>()) in ValidateCandidate()
136 return candidate.getCorrectionDeclAs<VarDecl>(); in ValidateCandidate()
138 candidate.getCorrectionDeclAs<NamespaceDecl>()) in ValidateCandidate()