Home
last modified time | relevance | path

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

12

/external/clang/include/clang/Sema/
DLookup.h434 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/
DSemaStmtAsm.cpp442 NamedDecl *FoundDecl = BaseResult.getFoundDecl(); in LookupInlineAsmField()
460 FieldDecl *FD = dyn_cast<FieldDecl>(FieldResult.getFoundDecl()); in LookupInlineAsmField()
DSemaOpenMP.cpp85 Diag(Lookup.getFoundDecl()->getLocation(), diag::note_declared_at); in ActOnOpenMPIdExpression()
DSemaTemplate.cpp392 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()
DSemaDecl.cpp304 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 …]
DSemaCXXScopeSpec.cpp301 NamedDecl *Result = Found.getFoundDecl(); in FindFirstQualifierInScope()
DSemaTemplateVariadic.cpp814 ParameterPack = R.getFoundDecl(); in ActOnSizeofParameterPackExpr()
DSemaExpr.cpp2063 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()
DSemaExprMember.cpp965 NamedDecl *MemberDecl = R.getFoundDecl(); in BuildMemberReferenceExpr()
DSemaDeclCXX.cpp6697 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()
DSemaChecking.cpp1483 assert(Res.getFoundDecl()); in SemaBuiltinAtomicOverloaded()
1484 NewBuiltinDecl = dyn_cast<FunctionDecl>(Res.getFoundDecl()); in SemaBuiltinAtomicOverloaded()
3089 NamedDecl *ND = Result.getFoundDecl(); in checkFormatExpr()
DSemaDeclObjC.cpp3129 NamedDecl *PrevDecl = R.getFoundDecl(); in ActOnMethodDeclaration()
DSemaExprObjC.cpp1825 NamedDecl *ND = Result.getFoundDecl(); in getObjCMessageKind()
DSemaLookup.cpp3668 Res.getFoundDecl()->isDefinedOutsideFunctionOrMethod()))) { in LookupPotentialTypoResult()
DSemaTemplateInstantiateDecl.cpp2235 FunctionDecl *Specialization = cast<FunctionDecl>(Previous.getFoundDecl()); in VisitClassScopeFunctionSpecializationDecl()
DTreeTransform.h6698 NamedDecl *FoundDecl = E->getFoundDecl(); in TransformMemberExpr()
6712 FoundDecl == E->getFoundDecl() && in TransformMemberExpr()
DSemaExprCXX.cpp965 const FunctionDecl *del = cast<FunctionDecl>(ops.getFoundDecl()); in doesUsualArrayDeleteWantSize()
DSemaDeclAttr.cpp4480 NamedDecl *Target = R.getFoundDecl(); in handleNSBridgedAttr()
/external/clang/lib/StaticAnalyzer/Checkers/
DMacOSKeychainAPIChecker.cpp388 StringRef DeallocatorName = DE->getFoundDecl()->getName(); in checkPreStmt()
398 if (DE->getFoundDecl()->getName() == "kCFAllocatorNull") in checkPreStmt()
DMallocChecker.cpp1946 StringRef DeallocatorName = DE->getFoundDecl()->getName(); in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp347 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/
DASTDumper.cpp1543 if (Node->getDecl() != Node->getFoundDecl()) { in VisitDeclRefExpr()
1545 dumpBareDeclRef(Node->getFoundDecl()); in VisitDeclRefExpr()
DASTImporter.cpp4373 if (E->getDecl() != E->getFoundDecl()) { in VisitDeclRefExpr()
4374 FoundD = cast_or_null<NamedDecl>(Importer.Import(E->getFoundDecl())); in VisitDeclRefExpr()
/external/clang/include/clang/AST/
DExpr.h1007 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/
DASTMatchers.h2038 const NamedDecl *FoundDecl = Node.getFoundDecl(); in AST_MATCHER_P()

12