Home
last modified time | relevance | path

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

12

/external/clang/include/clang/Sema/
DLookup.h450 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/
DSemaStmtAsm.cpp637 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()
DScopeInfo.cpp229 VD = dyn_cast<VarDecl>(DRE->getFoundDecl()); in getPotentialVariableCapture()
DSemaDecl.cpp412 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 …]
DSemaTemplate.cpp386 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()
DSemaTemplateVariadic.cpp839 ParameterPack = R.getFoundDecl(); in ActOnSizeofParameterPackExpr()
DSemaCXXScopeSpec.cpp349 NamedDecl *Result = Found.getFoundDecl(); in FindFirstQualifierInScope()
DSemaExprObjC.cpp2091 NamedDecl *ND = Result.getFoundDecl(); in getObjCMessageKind()
3612 Target = R.getFoundDecl(); in CheckObjCBridgeNSCast()
3677 Target = R.getFoundDecl(); in CheckObjCBridgeCFCast()
3842 Target = R.getFoundDecl(); in checkObjCBridgeRelatedComponents()
DSemaExpr.cpp2253 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 …]
DSemaDeclCXX.cpp7580 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()
DSemaExprMember.cpp1074 NamedDecl *MemberDecl = R.getFoundDecl(); in BuildMemberReferenceExpr()
DSemaChecking.cpp2226 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()
DSemaLookup.cpp4223 Res.getFoundDecl()->isDefinedOutsideFunctionOrMethod()))) { in LookupPotentialTypoResult()
DSemaTemplateInstantiateDecl.cpp2455 FunctionDecl *Specialization = cast<FunctionDecl>(Previous.getFoundDecl()); in VisitClassScopeFunctionSpecializationDecl()
DSemaDeclObjC.cpp4194 NamedDecl *PrevDecl = R.getFoundDecl(); in ActOnMethodDeclaration()
DTreeTransform.h8302 NamedDecl *FoundDecl = E->getFoundDecl(); in TransformMemberExpr()
8316 FoundDecl == E->getFoundDecl() && in TransformMemberExpr()
DSemaExprCXX.cpp1145 const FunctionDecl *del = cast<FunctionDecl>(ops.getFoundDecl()); in doesUsualArrayDeleteWantSize()
DSemaOpenMP.cpp1015 Diag(Lookup.getFoundDecl()->getLocation(), diag::note_declared_at); in ActOnOpenMPIdExpression()
/external/clang/lib/StaticAnalyzer/Checkers/
DMacOSKeychainAPIChecker.cpp394 StringRef DeallocatorName = DE->getFoundDecl()->getName(); in checkPreStmt()
404 if (DE->getFoundDecl()->getName() == "kCFAllocatorNull") in checkPreStmt()
DMallocChecker.cpp2471 StringRef DeallocatorName = DE->getFoundDecl()->getName(); in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp364 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/
DASTDumper.cpp1780 if (Node->getDecl() != Node->getFoundDecl()) { in VisitDeclRefExpr()
1782 dumpBareDeclRef(Node->getFoundDecl()); in VisitDeclRefExpr()
DASTImporter.cpp5043 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/
DExpr.h1057 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/
DASTMatchers.h2479 const NamedDecl *FoundDecl = Node.getFoundDecl(); in AST_MATCHER_P()

12