/external/clang/include/clang/Sema/ |
D | Lookup.h | 422 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/ |
D | MacOSKeychainAPIChecker.cpp | 397 StringRef DeallocatorName = DE->getFoundDecl()->getName(); in checkPreStmt() 408 if (DE->getFoundDecl()->getName() != "kCFAllocatorNull") { in checkPreStmt()
|
D | MallocChecker.cpp | 1391 StringRef DeallocatorName = DE->getFoundDecl()->getName(); in doesNotFreeMemory()
|
/external/clang/lib/AST/ |
D | StmtDumper.cpp | 378 if (Node->getDecl() != Node->getFoundDecl()) { in VisitDeclRefExpr() 380 DumpDeclRef(Node->getFoundDecl()); in VisitDeclRefExpr()
|
D | ASTImporter.cpp | 3919 if (E->getDecl() != E->getFoundDecl()) { in VisitDeclRefExpr() 3920 FoundD = cast_or_null<NamedDecl>(Importer.Import(E->getFoundDecl())); in VisitDeclRefExpr()
|
/external/clang/lib/Serialization/ |
D | ASTWriterStmt.cpp | 282 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/ |
D | SemaTemplate.cpp | 384 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()
|
D | SemaDecl.cpp | 305 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 …]
|
D | SemaCXXScopeSpec.cpp | 322 NamedDecl *Result = Found.getFoundDecl(); in FindFirstQualifierInScope()
|
D | SemaTemplateVariadic.cpp | 807 ParameterPack = R.getFoundDecl(); in ActOnSizeofParameterPackExpr()
|
D | SemaExpr.cpp | 1850 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()
|
D | SemaExprMember.cpp | 924 NamedDecl *MemberDecl = R.getFoundDecl(); in BuildMemberReferenceExpr()
|
D | SemaDeclCXX.cpp | 5775 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()
|
D | SemaExprObjC.cpp | 1699 NamedDecl *ND = Result.getFoundDecl(); in getObjCMessageKind()
|
D | SemaLookup.cpp | 3513 Res.getFoundDecl()->isDefinedOutsideFunctionOrMethod()))) { in LookupPotentialTypoResult()
|
D | SemaDeclObjC.cpp | 2854 NamedDecl *PrevDecl = R.getFoundDecl(); in ActOnMethodDeclaration()
|
D | SemaTemplateInstantiateDecl.cpp | 2094 FunctionDecl *Specialization = cast<FunctionDecl>(Previous.getFoundDecl()); in VisitClassScopeFunctionSpecializationDecl()
|
D | TreeTransform.h | 6404 NamedDecl *FoundDecl = E->getFoundDecl(); in TransformMemberExpr() 6418 FoundDecl == E->getFoundDecl() && in TransformMemberExpr()
|
D | SemaDeclAttr.cpp | 4065 NamedDecl *Target = R.getFoundDecl(); in handleNSBridgedAttr()
|
D | SemaExprCXX.cpp | 935 const FunctionDecl *del = cast<FunctionDecl>(ops.getFoundDecl()); in doesUsualArrayDeleteWantSize()
|
D | SemaOverload.cpp | 10607 FoundDecl = MemExpr->getFoundDecl(); in BuildCallToMemberFunction()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 1512 const NamedDecl *FoundDecl = Node.getFoundDecl(); in AST_MATCHER_P()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 931 NamedDecl *getFoundDecl() { in getFoundDecl() function 937 const NamedDecl *getFoundDecl() const { in getFoundDecl() function 2276 DeclAccessPair getFoundDecl() const { in getFoundDecl() function
|