Home
last modified time | relevance | path

Searched refs:getFoundDecl (Results 1 – 18 of 18) sorted by relevance

/external/clang/include/clang/Sema/
DLookup.h404 return dyn_cast<DeclClass>(getFoundDecl()); in getAsSingle()
412 NamedDecl *getFoundDecl() const { in getFoundDecl() function
426 return getResultKind() == Found && isa<TagDecl>(getFoundDecl()); in isSingleTagDecl()
/external/clang/lib/AST/
DStmtDumper.cpp372 if (Node->getDecl() != Node->getFoundDecl()) { in VisitDeclRefExpr()
374 DumpDeclRef(Node->getFoundDecl()); in VisitDeclRefExpr()
DASTImporter.cpp3786 if (E->getDecl() != E->getFoundDecl()) { in VisitDeclRefExpr()
3787 FoundD = cast_or_null<NamedDecl>(Importer.Import(E->getFoundDecl())); in VisitDeclRefExpr()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp266 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()
/external/clang/lib/Sema/
DSemaDecl.cpp192 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 …]
DSemaTemplate.cpp356 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()
DSemaCXXScopeSpec.cpp311 NamedDecl *Result = Found.getFoundDecl(); in FindFirstQualifierInScope()
DSemaTemplateVariadic.cpp714 ParameterPack = R.getFoundDecl(); in ActOnSizeofParameterPackExpr()
DSemaExpr.cpp1516 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()
DSemaDeclCXX.cpp4925 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()
DSemaExprMember.cpp852 NamedDecl *MemberDecl = R.getFoundDecl(); in BuildMemberReferenceExpr()
DSemaExprObjC.cpp889 NamedDecl *ND = Result.getFoundDecl(); in getObjCMessageKind()
DSemaDeclObjC.cpp2334 NamedDecl *PrevDecl = R.getFoundDecl(); in ActOnMethodDeclaration()
DSemaLookup.cpp3287 Res.getFoundDecl()->isDefinedOutsideFunctionOrMethod()))) { in LookupPotentialTypoResult()
DTreeTransform.h6060 NamedDecl *FoundDecl = E->getFoundDecl(); in TransformMemberExpr()
6074 FoundDecl == E->getFoundDecl() && in TransformMemberExpr()
DSemaExprCXX.cpp830 const FunctionDecl *del = cast<FunctionDecl>(ops.getFoundDecl()); in doesUsualArrayDeleteWantSize()
DSemaOverload.cpp9150 FoundDecl = MemExpr->getFoundDecl(); in BuildCallToMemberFunction()
/external/clang/include/clang/AST/
DExpr.h872 NamedDecl *getFoundDecl() { in getFoundDecl() function
878 const NamedDecl *getFoundDecl() const { in getFoundDecl() function
2091 DeclAccessPair getFoundDecl() const { in getFoundDecl() function