Searched refs:getFoundDecl (Results 1 – 18 of 18) sorted by relevance
404 return dyn_cast<DeclClass>(getFoundDecl()); in getAsSingle()412 NamedDecl *getFoundDecl() const { in getFoundDecl() function426 return getResultKind() == Found && isa<TagDecl>(getFoundDecl()); in isSingleTagDecl()
372 if (Node->getDecl() != Node->getFoundDecl()) { in VisitDeclRefExpr()374 DumpDeclRef(Node->getFoundDecl()); in VisitDeclRefExpr()
3786 if (E->getDecl() != E->getFoundDecl()) { in VisitDeclRefExpr()3787 FoundD = cast_or_null<NamedDecl>(Importer.Import(E->getFoundDecl())); in VisitDeclRefExpr()
266 Record.push_back(E->getDecl() != E->getFoundDecl()); in VisitDeclRefExpr()277 (E->getDecl() == E->getFoundDecl()) && in VisitDeclRefExpr()285 if (E->getDecl() != E->getFoundDecl()) in VisitDeclRefExpr()286 Writer.AddDeclRef(E->getFoundDecl(), Record); in VisitDeclRefExpr()461 DeclAccessPair FoundDecl = E->getFoundDecl(); in VisitMemberExpr()
192 IIDecl = Result.getFoundDecl(); in getTypeName()825 && Previous.getFoundDecl()->hasAttr<OverloadableAttr>()); in AllowOverloadingOfFunction()2040 !(Old = dyn_cast<VarDecl>(Previous.getFoundDecl()))) { in MergeVarDecl()3164 Previous.getFoundDecl()->isTemplateParameter()) { in HandleDeclarator()3168 Previous.getFoundDecl())) in HandleDeclarator()3298 NamedDecl *PrevDecl = Previous.getFoundDecl(); in RegisterLocallyScopedExternCDecl()3763 isa<FieldDecl>(Previous.getFoundDecl()) && in ActOnVariableDeclarator()3792 VarDecl *Def = dyn_cast<VarDecl>(Previous.getFoundDecl()); in ActOnVariableDeclarator()3841 NamedDecl* ShadowedDecl = R.getFoundDecl(); in CheckShadow()4844 FunctionDecl *PrevFD = dyn_cast<FunctionDecl>(Previous.getFoundDecl()); in ActOnFunctionDeclarator()[all …]
356 Found.getFoundDecl()->getCanonicalDecl() in LookupTemplateName()357 != FoundOuter.getFoundDecl()->getCanonicalDecl()) { in LookupTemplateName()365 Diag(FoundOuter.getFoundDecl()->getLocation(), in LookupTemplateName()5541 (PrevVar = dyn_cast<VarDecl>(Previous.getFoundDecl()))) in CheckMemberSpecialization()5550 (PrevRecord = dyn_cast<CXXRecordDecl>(Previous.getFoundDecl()))) { in CheckMemberSpecialization()6526 if (TypeDecl *Type = dyn_cast<TypeDecl>(Result.getFoundDecl())) { in CheckTypenameType()6535 Referenced = Result.getFoundDecl(); in CheckTypenameType()
311 NamedDecl *Result = Found.getFoundDecl(); in FindFirstQualifierInScope()
714 ParameterPack = R.getFoundDecl(); in ActOnSizeofParameterPackExpr()
1516 Lookup.getFoundDecl()->isDefinedOutsideFunctionOrMethod() && in SynthesizeProvisionalIvar()1735 MightBeImplicitMember = isa<FieldDecl>(R.getFoundDecl()) || in ActOnIdExpression()1736 isa<IndirectFieldDecl>(R.getFoundDecl()); in ActOnIdExpression()1809 Lookup.getFoundDecl()->isDefinedOutsideFunctionOrMethod()); in LookupInObjCMethod()2136 R.getFoundDecl()); in BuildDeclarationNameExpr()2142 CheckDeclInExpr(*this, R.getNameLoc(), R.getFoundDecl())) in BuildDeclarationNameExpr()2712 if (ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(DeclRef->getFoundDecl())) { in CheckUnaryExprOrTypeTraitOperand()
4925 NamedDecl *Named = R.getFoundDecl(); in ActOnUsingDirective()5404 Diag(R.getFoundDecl()->getLocation(), diag::note_using_decl_target); in BuildUsingDeclaration()5692 Previous.getFoundDecl()->isTemplateParameter()) { in ActOnAliasDeclaration()5694 Previous.getFoundDecl())) in ActOnAliasDeclaration()5825 AD->getNamespace()->Equals(getNamespaceDecl(R.getFoundDecl()))) in ActOnNamespaceAliasDef()5849 IdentLoc, R.getFoundDecl()); in ActOnNamespaceAliasDef()
852 NamedDecl *MemberDecl = R.getFoundDecl(); in BuildMemberReferenceExpr()
889 NamedDecl *ND = Result.getFoundDecl(); in getObjCMessageKind()
2334 NamedDecl *PrevDecl = R.getFoundDecl(); in ActOnMethodDeclaration()
3287 Res.getFoundDecl()->isDefinedOutsideFunctionOrMethod()))) { in LookupPotentialTypoResult()
6060 NamedDecl *FoundDecl = E->getFoundDecl(); in TransformMemberExpr()6074 FoundDecl == E->getFoundDecl() && in TransformMemberExpr()
830 const FunctionDecl *del = cast<FunctionDecl>(ops.getFoundDecl()); in doesUsualArrayDeleteWantSize()
9150 FoundDecl = MemExpr->getFoundDecl(); in BuildCallToMemberFunction()
872 NamedDecl *getFoundDecl() { in getFoundDecl() function878 const NamedDecl *getFoundDecl() const { in getFoundDecl() function2091 DeclAccessPair getFoundDecl() const { in getFoundDecl() function