/external/clang/include/clang/Sema/ |
D | Lookup.h | 450 return dyn_cast<DeclClass>(getFoundDecl()); in getAsSingle() 458 NamedDecl *getFoundDecl() const { in getFoundDecl() function 472 return getResultKind() == Found && isa<TagDecl>(getFoundDecl()); in isSingleTagDecl()
|
/external/clang/lib/Sema/ |
D | SemaStmtAsm.cpp | 637 NamedDecl *FoundDecl = CurrBaseResult.getFoundDecl(); in LookupInlineAsmField() 661 FieldDecl *FD = dyn_cast<FieldDecl>(FieldResult.getFoundDecl()); in LookupInlineAsmField() 694 ValueDecl *FD = dyn_cast<FieldDecl>(FieldResult.getFoundDecl()); in LookupInlineAsmVarDeclField() 696 FD = dyn_cast<IndirectFieldDecl>(FieldResult.getFoundDecl()); in LookupInlineAsmVarDeclField()
|
D | ScopeInfo.cpp | 229 VD = dyn_cast<VarDecl>(DRE->getFoundDecl()); in getPotentialVariableCapture()
|
D | SemaDecl.cpp | 412 IIDecl = Result.getFoundDecl(); in getTypeName() 1200 && Previous.getFoundDecl()->hasAttr<OverloadableAttr>()); in AllowOverloadingOfFunction() 3396 OldTemplate = dyn_cast<VarTemplateDecl>(Previous.getFoundDecl()); in MergeVarDecl() 3404 Old = dyn_cast<VarDecl>(Previous.getFoundDecl()); in MergeVarDecl() 4938 Previous.getFoundDecl()->isTemplateParameter()) { in HandleDeclarator() 4942 Previous.getFoundDecl()); in HandleDeclarator() 6181 isDeclInScope(Previous.getFoundDecl(), OriginalDC, S, false)); in ActOnVariableDeclarator() 6194 isa<FieldDecl>(Previous.getFoundDecl()) && in ActOnVariableDeclarator() 6316 NamedDecl* ShadowedDecl = R.getFoundDecl(); in CheckShadow() 8377 OldDecl = Previous.getFoundDecl(); in CheckFunctionDeclaration() [all …]
|
D | SemaTemplate.cpp | 386 Found.getFoundDecl()->getCanonicalDecl() in LookupTemplateName() 387 != FoundOuter.getFoundDecl()->getCanonicalDecl()) { in LookupTemplateName() 395 Diag(FoundOuter.getFoundDecl()->getLocation(), in LookupTemplateName() 7023 (PrevVar = dyn_cast<VarDecl>(Previous.getFoundDecl()))) in CheckMemberSpecialization() 7032 (PrevRecord = dyn_cast<CXXRecordDecl>(Previous.getFoundDecl()))) { in CheckMemberSpecialization() 7040 (PrevEnum = dyn_cast<EnumDecl>(Previous.getFoundDecl()))) { in CheckMemberSpecialization() 8214 if (TypeDecl *Type = dyn_cast<TypeDecl>(Result.getFoundDecl())) { in CheckTypenameType() 8224 Referenced = Result.getFoundDecl(); in CheckTypenameType()
|
D | SemaTemplateVariadic.cpp | 839 ParameterPack = R.getFoundDecl(); in ActOnSizeofParameterPackExpr()
|
D | SemaCXXScopeSpec.cpp | 349 NamedDecl *Result = Found.getFoundDecl(); in FindFirstQualifierInScope()
|
D | SemaExprObjC.cpp | 2091 NamedDecl *ND = Result.getFoundDecl(); in getObjCMessageKind() 3612 Target = R.getFoundDecl(); in CheckObjCBridgeNSCast() 3677 Target = R.getFoundDecl(); in CheckObjCBridgeCFCast() 3842 Target = R.getFoundDecl(); in checkObjCBridgeRelatedComponents()
|
D | SemaExpr.cpp | 2253 MightBeImplicitMember = isa<FieldDecl>(R.getFoundDecl()) || in ActOnIdExpression() 2254 isa<IndirectFieldDecl>(R.getFoundDecl()) || in ActOnIdExpression() 2255 isa<MSPropertyDecl>(R.getFoundDecl()); in ActOnIdExpression() 2393 Lookup.getFoundDecl()->isDefinedOutsideFunctionOrMethod()); in LookupInObjCMethod() 2471 Lookup.getFoundDecl()->isDefinedOutsideFunctionOrMethod()) { in LookupInObjCMethod() 2473 if (const ObjCIvarDecl *IV = dyn_cast<ObjCIvarDecl>(Lookup.getFoundDecl())) in LookupInObjCMethod() 2743 return BuildDeclarationNameExpr(SS, R.getLookupNameInfo(), R.getFoundDecl(), in BuildDeclarationNameExpr() 2751 CheckDeclInExpr(*this, R.getNameLoc(), R.getFoundDecl())) in BuildDeclarationNameExpr() 3595 if (ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(DeclRef->getFoundDecl())) { in CheckUnaryExprOrTypeTraitOperand() 13377 Var = dyn_cast<VarDecl>(DRE->getFoundDecl()); in UpdateMarkingForLValueToRValue() [all …]
|
D | SemaDeclCXX.cpp | 7580 NamedDecl *Named = R.getFoundDecl(); in ActOnUsingDirective() 8209 Diag(R.getFoundDecl()->getLocation(), diag::note_using_decl_target); in BuildUsingDeclaration() 8537 Previous.getFoundDecl()->isTemplateParameter()) { in ActOnAliasDeclaration() 8538 DiagnoseTemplateParameterShadow(Name.StartLocation,Previous.getFoundDecl()); in ActOnAliasDeclaration() 8670 NamedDecl *ND = R.getFoundDecl(); in ActOnNamespaceAliasDef() 8678 if (PrevR.isSingleResult() && PrevR.getFoundDecl()->isTemplateParameter()) { in ActOnNamespaceAliasDef() 8679 DiagnoseTemplateParameterShadow(AliasLoc, PrevR.getFoundDecl()); in ActOnNamespaceAliasDef()
|
D | SemaExprMember.cpp | 1074 NamedDecl *MemberDecl = R.getFoundDecl(); in BuildMemberReferenceExpr()
|
D | SemaChecking.cpp | 2226 assert(Res.getFoundDecl()); in SemaBuiltinAtomicOverloaded() 2227 NewBuiltinDecl = dyn_cast<FunctionDecl>(Res.getFoundDecl()); in SemaBuiltinAtomicOverloaded() 4309 NamedDecl *ND = Result.getFoundDecl(); in checkFormatExpr() 5013 FunctionDecl *FD = dyn_cast<FunctionDecl>(R.getFoundDecl()); in emitReplacement()
|
D | SemaLookup.cpp | 4223 Res.getFoundDecl()->isDefinedOutsideFunctionOrMethod()))) { in LookupPotentialTypoResult()
|
D | SemaTemplateInstantiateDecl.cpp | 2455 FunctionDecl *Specialization = cast<FunctionDecl>(Previous.getFoundDecl()); in VisitClassScopeFunctionSpecializationDecl()
|
D | SemaDeclObjC.cpp | 4194 NamedDecl *PrevDecl = R.getFoundDecl(); in ActOnMethodDeclaration()
|
D | TreeTransform.h | 8302 NamedDecl *FoundDecl = E->getFoundDecl(); in TransformMemberExpr() 8316 FoundDecl == E->getFoundDecl() && in TransformMemberExpr()
|
D | SemaExprCXX.cpp | 1145 const FunctionDecl *del = cast<FunctionDecl>(ops.getFoundDecl()); in doesUsualArrayDeleteWantSize()
|
D | SemaOpenMP.cpp | 1015 Diag(Lookup.getFoundDecl()->getLocation(), diag::note_declared_at); in ActOnOpenMPIdExpression()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MacOSKeychainAPIChecker.cpp | 394 StringRef DeallocatorName = DE->getFoundDecl()->getName(); in checkPreStmt() 404 if (DE->getFoundDecl()->getName() == "kCFAllocatorNull") in checkPreStmt()
|
D | MallocChecker.cpp | 2471 StringRef DeallocatorName = DE->getFoundDecl()->getName(); in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
|
/external/clang/lib/Serialization/ |
D | ASTWriterStmt.cpp | 364 Record.push_back(E->getDecl() != E->getFoundDecl()); in VisitDeclRefExpr() 377 (E->getDecl() == E->getFoundDecl()) && in VisitDeclRefExpr() 385 if (E->getDecl() != E->getFoundDecl()) in VisitDeclRefExpr() 386 Writer.AddDeclRef(E->getFoundDecl(), Record); in VisitDeclRefExpr() 575 DeclAccessPair FoundDecl = E->getFoundDecl(); in VisitMemberExpr()
|
/external/clang/lib/AST/ |
D | ASTDumper.cpp | 1780 if (Node->getDecl() != Node->getFoundDecl()) { in VisitDeclRefExpr() 1782 dumpBareDeclRef(Node->getFoundDecl()); in VisitDeclRefExpr()
|
D | ASTImporter.cpp | 5043 if (E->getDecl() != E->getFoundDecl()) { in VisitDeclRefExpr() 5044 FoundD = cast_or_null<NamedDecl>(Importer.Import(E->getFoundDecl())); in VisitDeclRefExpr() 5283 dyn_cast<NamedDecl>(Importer.Import(E->getFoundDecl().getDecl())), in VisitMemberExpr() 5284 E->getFoundDecl().getAccess()); in VisitMemberExpr()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 1057 NamedDecl *getFoundDecl() { in getFoundDecl() function 1063 const NamedDecl *getFoundDecl() const { in getFoundDecl() function 2452 DeclAccessPair getFoundDecl() const { in getFoundDecl() function
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 2479 const NamedDecl *FoundDecl = Node.getFoundDecl(); in AST_MATCHER_P()
|