Home
last modified time | relevance | path

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

/external/clang/include/clang/Sema/
DLookup.h422 return dyn_cast<DeclClass>(getFoundDecl()); in getAsSingle()
430 NamedDecl *getFoundDecl() const { in getFoundDecl() function
444 return getResultKind() == Found && isa<TagDecl>(getFoundDecl()); in isSingleTagDecl()
/external/clang/lib/StaticAnalyzer/Checkers/
DMacOSKeychainAPIChecker.cpp397 StringRef DeallocatorName = DE->getFoundDecl()->getName(); in checkPreStmt()
408 if (DE->getFoundDecl()->getName() != "kCFAllocatorNull") { in checkPreStmt()
DMallocChecker.cpp1391 StringRef DeallocatorName = DE->getFoundDecl()->getName(); in doesNotFreeMemory()
/external/clang/lib/AST/
DStmtDumper.cpp378 if (Node->getDecl() != Node->getFoundDecl()) { in VisitDeclRefExpr()
380 DumpDeclRef(Node->getFoundDecl()); in VisitDeclRefExpr()
DASTImporter.cpp3919 if (E->getDecl() != E->getFoundDecl()) { in VisitDeclRefExpr()
3920 FoundD = cast_or_null<NamedDecl>(Importer.Import(E->getFoundDecl())); in VisitDeclRefExpr()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp282 Record.push_back(E->getDecl() != E->getFoundDecl()); in VisitDeclRefExpr()
295 (E->getDecl() == E->getFoundDecl()) && in VisitDeclRefExpr()
303 if (E->getDecl() != E->getFoundDecl()) in VisitDeclRefExpr()
304 Writer.AddDeclRef(E->getFoundDecl(), Record); in VisitDeclRefExpr()
482 DeclAccessPair FoundDecl = E->getFoundDecl(); in VisitMemberExpr()
/external/clang/lib/Sema/
DSemaTemplate.cpp384 Found.getFoundDecl()->getCanonicalDecl() in LookupTemplateName()
385 != FoundOuter.getFoundDecl()->getCanonicalDecl()) { in LookupTemplateName()
393 Diag(FoundOuter.getFoundDecl()->getLocation(), in LookupTemplateName()
6084 (PrevVar = dyn_cast<VarDecl>(Previous.getFoundDecl()))) in CheckMemberSpecialization()
6093 (PrevRecord = dyn_cast<CXXRecordDecl>(Previous.getFoundDecl()))) { in CheckMemberSpecialization()
6101 (PrevEnum = dyn_cast<EnumDecl>(Previous.getFoundDecl()))) { in CheckMemberSpecialization()
7135 if (TypeDecl *Type = dyn_cast<TypeDecl>(Result.getFoundDecl())) { in CheckTypenameType()
7144 Referenced = Result.getFoundDecl(); in CheckTypenameType()
DSemaDecl.cpp305 IIDecl = Result.getFoundDecl(); in getTypeName()
1026 && Previous.getFoundDecl()->hasAttr<OverloadableAttr>()); in AllowOverloadingOfFunction()
2468 !(Old = dyn_cast<VarDecl>(Previous.getFoundDecl()))) { in MergeVarDecl()
3732 Previous.getFoundDecl()->isTemplateParameter()) { in HandleDeclarator()
3736 Previous.getFoundDecl()); in HandleDeclarator()
3863 NamedDecl *PrevDecl = Previous.getFoundDecl(); in RegisterLocallyScopedExternCDecl()
4394 isa<FieldDecl>(Previous.getFoundDecl()) && in ActOnVariableDeclarator()
4460 NamedDecl* ShadowedDecl = R.getFoundDecl(); in CheckShadow()
5932 OldDecl = Previous.getFoundDecl(); in CheckFunctionDeclaration()
7315 NamedDecl *PrevDecl = R.getFoundDecl(); in ActOnParamDeclarator()
[all …]
DSemaCXXScopeSpec.cpp322 NamedDecl *Result = Found.getFoundDecl(); in FindFirstQualifierInScope()
DSemaTemplateVariadic.cpp807 ParameterPack = R.getFoundDecl(); in ActOnSizeofParameterPackExpr()
DSemaExpr.cpp1850 MightBeImplicitMember = isa<FieldDecl>(R.getFoundDecl()) || in ActOnIdExpression()
1851 isa<IndirectFieldDecl>(R.getFoundDecl()); in ActOnIdExpression()
1926 Lookup.getFoundDecl()->isDefinedOutsideFunctionOrMethod()); in LookupInObjCMethod()
1990 Lookup.getFoundDecl()->isDefinedOutsideFunctionOrMethod()) { in LookupInObjCMethod()
1992 if (const ObjCIvarDecl *IV = dyn_cast<ObjCIvarDecl>(Lookup.getFoundDecl())) in LookupInObjCMethod()
2267 R.getFoundDecl()); in BuildDeclarationNameExpr()
2273 CheckDeclInExpr(*this, R.getNameLoc(), R.getFoundDecl())) in BuildDeclarationNameExpr()
2978 if (ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(DeclRef->getFoundDecl())) { in CheckUnaryExprOrTypeTraitOperand()
11807 NamedDecl *ND = Result.getFoundDecl(); in ActOnObjCBoolLiteral()
DSemaExprMember.cpp924 NamedDecl *MemberDecl = R.getFoundDecl(); in BuildMemberReferenceExpr()
DSemaDeclCXX.cpp5775 NamedDecl *Named = R.getFoundDecl(); in ActOnUsingDirective()
6267 Diag(R.getFoundDecl()->getLocation(), diag::note_using_decl_target); in BuildUsingDeclaration()
6555 Previous.getFoundDecl()->isTemplateParameter()) { in ActOnAliasDeclaration()
6556 DiagnoseTemplateParameterShadow(Name.StartLocation,Previous.getFoundDecl()); in ActOnAliasDeclaration()
6687 AD->getNamespace()->Equals(getNamespaceDecl(R.getFoundDecl()))) in ActOnNamespaceAliasDef()
6711 IdentLoc, R.getFoundDecl()); in ActOnNamespaceAliasDef()
DSemaExprObjC.cpp1699 NamedDecl *ND = Result.getFoundDecl(); in getObjCMessageKind()
DSemaLookup.cpp3513 Res.getFoundDecl()->isDefinedOutsideFunctionOrMethod()))) { in LookupPotentialTypoResult()
DSemaDeclObjC.cpp2854 NamedDecl *PrevDecl = R.getFoundDecl(); in ActOnMethodDeclaration()
DSemaTemplateInstantiateDecl.cpp2094 FunctionDecl *Specialization = cast<FunctionDecl>(Previous.getFoundDecl()); in VisitClassScopeFunctionSpecializationDecl()
DTreeTransform.h6404 NamedDecl *FoundDecl = E->getFoundDecl(); in TransformMemberExpr()
6418 FoundDecl == E->getFoundDecl() && in TransformMemberExpr()
DSemaDeclAttr.cpp4065 NamedDecl *Target = R.getFoundDecl(); in handleNSBridgedAttr()
DSemaExprCXX.cpp935 const FunctionDecl *del = cast<FunctionDecl>(ops.getFoundDecl()); in doesUsualArrayDeleteWantSize()
DSemaOverload.cpp10607 FoundDecl = MemExpr->getFoundDecl(); in BuildCallToMemberFunction()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1512 const NamedDecl *FoundDecl = Node.getFoundDecl(); in AST_MATCHER_P()
/external/clang/include/clang/AST/
DExpr.h931 NamedDecl *getFoundDecl() { in getFoundDecl() function
937 const NamedDecl *getFoundDecl() const { in getFoundDecl() function
2276 DeclAccessPair getFoundDecl() const { in getFoundDecl() function