/external/clang/include/clang/Sema/ |
D | Lookup.h | 434 return dyn_cast<DeclClass>(getFoundDecl()); in getAsSingle() 442 NamedDecl *getFoundDecl() const { in getFoundDecl() function 456 return getResultKind() == Found && isa<TagDecl>(getFoundDecl()); in isSingleTagDecl()
|
/external/clang/lib/Sema/ |
D | SemaStmtAsm.cpp | 442 NamedDecl *FoundDecl = BaseResult.getFoundDecl(); in LookupInlineAsmField() 460 FieldDecl *FD = dyn_cast<FieldDecl>(FieldResult.getFoundDecl()); in LookupInlineAsmField()
|
D | SemaOpenMP.cpp | 85 Diag(Lookup.getFoundDecl()->getLocation(), diag::note_declared_at); in ActOnOpenMPIdExpression()
|
D | SemaTemplate.cpp | 392 Found.getFoundDecl()->getCanonicalDecl() in LookupTemplateName() 393 != FoundOuter.getFoundDecl()->getCanonicalDecl()) { in LookupTemplateName() 401 Diag(FoundOuter.getFoundDecl()->getLocation(), in LookupTemplateName() 6561 (PrevVar = dyn_cast<VarDecl>(Previous.getFoundDecl()))) in CheckMemberSpecialization() 6570 (PrevRecord = dyn_cast<CXXRecordDecl>(Previous.getFoundDecl()))) { in CheckMemberSpecialization() 6578 (PrevEnum = dyn_cast<EnumDecl>(Previous.getFoundDecl()))) { in CheckMemberSpecialization() 7689 if (TypeDecl *Type = dyn_cast<TypeDecl>(Result.getFoundDecl())) { in CheckTypenameType() 7698 Referenced = Result.getFoundDecl(); in CheckTypenameType()
|
D | SemaDecl.cpp | 304 IIDecl = Result.getFoundDecl(); in getTypeName() 1038 && Previous.getFoundDecl()->hasAttr<OverloadableAttr>()); in AllowOverloadingOfFunction() 2903 !(Old = dyn_cast<VarDecl>(Previous.getFoundDecl()))) { in MergeVarDecl() 4225 Previous.getFoundDecl()->isTemplateParameter()) { in HandleDeclarator() 4229 Previous.getFoundDecl()); in HandleDeclarator() 5246 isa<FieldDecl>(Previous.getFoundDecl()) && in ActOnVariableDeclarator() 5364 NamedDecl* ShadowedDecl = R.getFoundDecl(); in CheckShadow() 7236 NamedDecl *Candidate = Previous.getFoundDecl(); in CheckFunctionDeclaration() 7284 OldDecl = Previous.getFoundDecl(); in CheckFunctionDeclaration() 7291 Diag(Previous.getFoundDecl()->getLocation(), in CheckFunctionDeclaration() [all …]
|
D | SemaCXXScopeSpec.cpp | 301 NamedDecl *Result = Found.getFoundDecl(); in FindFirstQualifierInScope()
|
D | SemaTemplateVariadic.cpp | 814 ParameterPack = R.getFoundDecl(); in ActOnSizeofParameterPackExpr()
|
D | SemaExpr.cpp | 2063 MightBeImplicitMember = isa<FieldDecl>(R.getFoundDecl()) || in ActOnIdExpression() 2064 isa<IndirectFieldDecl>(R.getFoundDecl()) || in ActOnIdExpression() 2065 isa<MSPropertyDecl>(R.getFoundDecl()); in ActOnIdExpression() 2169 Lookup.getFoundDecl()->isDefinedOutsideFunctionOrMethod()); in LookupInObjCMethod() 2250 Lookup.getFoundDecl()->isDefinedOutsideFunctionOrMethod()) { in LookupInObjCMethod() 2252 if (const ObjCIvarDecl *IV = dyn_cast<ObjCIvarDecl>(Lookup.getFoundDecl())) in LookupInObjCMethod() 2525 return BuildDeclarationNameExpr(SS, R.getLookupNameInfo(), R.getFoundDecl(), in BuildDeclarationNameExpr() 2532 CheckDeclInExpr(*this, R.getNameLoc(), R.getFoundDecl())) in BuildDeclarationNameExpr() 3267 if (ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(DeclRef->getFoundDecl())) { in CheckUnaryExprOrTypeTraitOperand() 12776 NamedDecl *ND = Result.getFoundDecl(); in ActOnObjCBoolLiteral()
|
D | SemaExprMember.cpp | 965 NamedDecl *MemberDecl = R.getFoundDecl(); in BuildMemberReferenceExpr()
|
D | SemaDeclCXX.cpp | 6697 NamedDecl *Named = R.getFoundDecl(); in ActOnUsingDirective() 7238 Diag(R.getFoundDecl()->getLocation(), diag::note_using_decl_target); in BuildUsingDeclaration() 7527 Previous.getFoundDecl()->isTemplateParameter()) { in ActOnAliasDeclaration() 7528 DiagnoseTemplateParameterShadow(Name.StartLocation,Previous.getFoundDecl()); in ActOnAliasDeclaration() 7661 AD->getNamespace()->Equals(getNamespaceDecl(R.getFoundDecl()))) in ActOnNamespaceAliasDef() 7685 IdentLoc, R.getFoundDecl()); in ActOnNamespaceAliasDef()
|
D | SemaChecking.cpp | 1483 assert(Res.getFoundDecl()); in SemaBuiltinAtomicOverloaded() 1484 NewBuiltinDecl = dyn_cast<FunctionDecl>(Res.getFoundDecl()); in SemaBuiltinAtomicOverloaded() 3089 NamedDecl *ND = Result.getFoundDecl(); in checkFormatExpr()
|
D | SemaDeclObjC.cpp | 3129 NamedDecl *PrevDecl = R.getFoundDecl(); in ActOnMethodDeclaration()
|
D | SemaExprObjC.cpp | 1825 NamedDecl *ND = Result.getFoundDecl(); in getObjCMessageKind()
|
D | SemaLookup.cpp | 3668 Res.getFoundDecl()->isDefinedOutsideFunctionOrMethod()))) { in LookupPotentialTypoResult()
|
D | SemaTemplateInstantiateDecl.cpp | 2235 FunctionDecl *Specialization = cast<FunctionDecl>(Previous.getFoundDecl()); in VisitClassScopeFunctionSpecializationDecl()
|
D | TreeTransform.h | 6698 NamedDecl *FoundDecl = E->getFoundDecl(); in TransformMemberExpr() 6712 FoundDecl == E->getFoundDecl() && in TransformMemberExpr()
|
D | SemaExprCXX.cpp | 965 const FunctionDecl *del = cast<FunctionDecl>(ops.getFoundDecl()); in doesUsualArrayDeleteWantSize()
|
D | SemaDeclAttr.cpp | 4480 NamedDecl *Target = R.getFoundDecl(); in handleNSBridgedAttr()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MacOSKeychainAPIChecker.cpp | 388 StringRef DeallocatorName = DE->getFoundDecl()->getName(); in checkPreStmt() 398 if (DE->getFoundDecl()->getName() == "kCFAllocatorNull") in checkPreStmt()
|
D | MallocChecker.cpp | 1946 StringRef DeallocatorName = DE->getFoundDecl()->getName(); in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
|
/external/clang/lib/Serialization/ |
D | ASTWriterStmt.cpp | 347 Record.push_back(E->getDecl() != E->getFoundDecl()); in VisitDeclRefExpr() 360 (E->getDecl() == E->getFoundDecl()) && in VisitDeclRefExpr() 368 if (E->getDecl() != E->getFoundDecl()) in VisitDeclRefExpr() 369 Writer.AddDeclRef(E->getFoundDecl(), Record); in VisitDeclRefExpr() 548 DeclAccessPair FoundDecl = E->getFoundDecl(); in VisitMemberExpr()
|
/external/clang/lib/AST/ |
D | ASTDumper.cpp | 1543 if (Node->getDecl() != Node->getFoundDecl()) { in VisitDeclRefExpr() 1545 dumpBareDeclRef(Node->getFoundDecl()); in VisitDeclRefExpr()
|
D | ASTImporter.cpp | 4373 if (E->getDecl() != E->getFoundDecl()) { in VisitDeclRefExpr() 4374 FoundD = cast_or_null<NamedDecl>(Importer.Import(E->getFoundDecl())); in VisitDeclRefExpr()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 1007 NamedDecl *getFoundDecl() { in getFoundDecl() function 1013 const NamedDecl *getFoundDecl() const { in getFoundDecl() function 2381 DeclAccessPair getFoundDecl() const { in getFoundDecl() function
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 2038 const NamedDecl *FoundDecl = Node.getFoundDecl(); in AST_MATCHER_P()
|