Home
last modified time | relevance | path

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

12

/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Sema/
DLookup.h445 return dyn_cast<DeclClass>(getFoundDecl()); in getAsSingle()
453 NamedDecl *getFoundDecl() const { in getFoundDecl() function
467 return getResultKind() == Found && isa<TagDecl>(getFoundDecl()); in isSingleTagDecl()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/
DSemaStmtAsm.cpp442 NamedDecl *FoundDecl = BaseResult.getFoundDecl(); in LookupInlineAsmField()
460 FieldDecl *FD = dyn_cast<FieldDecl>(FieldResult.getFoundDecl()); in LookupInlineAsmField()
DScopeInfo.cpp193 VD = dyn_cast<VarDecl>(DRE->getFoundDecl()); in getPotentialVariableCapture()
DSemaDecl.cpp296 IIDecl = Result.getFoundDecl(); in getTypeName()
1019 && Previous.getFoundDecl()->hasAttr<OverloadableAttr>()); in AllowOverloadingOfFunction()
3009 (Old = dyn_cast<VarDecl>(Previous.getFoundDecl()))) { in MergeVarDecl()
4354 Previous.getFoundDecl()->isTemplateParameter()) { in HandleDeclarator()
4358 Previous.getFoundDecl()); in HandleDeclarator()
5418 isDeclInScope(Previous.getFoundDecl(), OriginalDC, S, false)); in ActOnVariableDeclarator()
5426 isa<FieldDecl>(Previous.getFoundDecl()) && in ActOnVariableDeclarator()
5515 NamedDecl* ShadowedDecl = R.getFoundDecl(); in CheckShadow()
7409 NamedDecl *Candidate = Previous.getFoundDecl(); in CheckFunctionDeclaration()
7457 OldDecl = Previous.getFoundDecl(); in CheckFunctionDeclaration()
[all …]
DSemaTemplate.cpp384 Found.getFoundDecl()->getCanonicalDecl() in LookupTemplateName()
385 != FoundOuter.getFoundDecl()->getCanonicalDecl()) { in LookupTemplateName()
393 Diag(FoundOuter.getFoundDecl()->getLocation(), in LookupTemplateName()
6670 (PrevVar = dyn_cast<VarDecl>(Previous.getFoundDecl()))) in CheckMemberSpecialization()
6679 (PrevRecord = dyn_cast<CXXRecordDecl>(Previous.getFoundDecl()))) { in CheckMemberSpecialization()
6687 (PrevEnum = dyn_cast<EnumDecl>(Previous.getFoundDecl()))) { in CheckMemberSpecialization()
7801 if (TypeDecl *Type = dyn_cast<TypeDecl>(Result.getFoundDecl())) { in CheckTypenameType()
7810 Referenced = Result.getFoundDecl(); in CheckTypenameType()
DSemaTemplateVariadic.cpp814 ParameterPack = R.getFoundDecl(); in ActOnSizeofParameterPackExpr()
DSemaCXXScopeSpec.cpp301 NamedDecl *Result = Found.getFoundDecl(); in FindFirstQualifierInScope()
DSemaExpr.cpp2115 MightBeImplicitMember = isa<FieldDecl>(R.getFoundDecl()) || in ActOnIdExpression()
2116 isa<IndirectFieldDecl>(R.getFoundDecl()) || in ActOnIdExpression()
2117 isa<MSPropertyDecl>(R.getFoundDecl()); in ActOnIdExpression()
2221 Lookup.getFoundDecl()->isDefinedOutsideFunctionOrMethod()); in LookupInObjCMethod()
2310 Lookup.getFoundDecl()->isDefinedOutsideFunctionOrMethod()) { in LookupInObjCMethod()
2312 if (const ObjCIvarDecl *IV = dyn_cast<ObjCIvarDecl>(Lookup.getFoundDecl())) in LookupInObjCMethod()
2585 return BuildDeclarationNameExpr(SS, R.getLookupNameInfo(), R.getFoundDecl(), in BuildDeclarationNameExpr()
2592 CheckDeclInExpr(*this, R.getNameLoc(), R.getFoundDecl())) in BuildDeclarationNameExpr()
3347 if (ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(DeclRef->getFoundDecl())) { in CheckUnaryExprOrTypeTraitOperand()
12022 Var = dyn_cast<VarDecl>(DRE->getFoundDecl()); in UpdateMarkingForLValueToRValue()
[all …]
DSemaExprObjC.cpp1836 NamedDecl *ND = Result.getFoundDecl(); in getObjCMessageKind()
3192 Target = R.getFoundDecl(); in CheckObjCBridgeNSCast()
3236 Target = R.getFoundDecl(); in CheckObjCBridgeCFCast()
DSemaOpenMP.cpp425 Diag(Lookup.getFoundDecl()->getLocation(), diag::note_declared_at); in ActOnOpenMPIdExpression()
DSemaExprMember.cpp1014 NamedDecl *MemberDecl = R.getFoundDecl(); in BuildMemberReferenceExpr()
DSemaDeclCXX.cpp6912 NamedDecl *Named = R.getFoundDecl(); in ActOnUsingDirective()
7459 Diag(R.getFoundDecl()->getLocation(), diag::note_using_decl_target); in BuildUsingDeclaration()
7749 Previous.getFoundDecl()->isTemplateParameter()) { in ActOnAliasDeclaration()
7750 DiagnoseTemplateParameterShadow(Name.StartLocation,Previous.getFoundDecl()); in ActOnAliasDeclaration()
7883 AD->getNamespace()->Equals(getNamespaceDecl(R.getFoundDecl()))) in ActOnNamespaceAliasDef()
7907 IdentLoc, R.getFoundDecl()); in ActOnNamespaceAliasDef()
DSemaChecking.cpp1494 assert(Res.getFoundDecl()); in SemaBuiltinAtomicOverloaded()
1495 NewBuiltinDecl = dyn_cast<FunctionDecl>(Res.getFoundDecl()); in SemaBuiltinAtomicOverloaded()
3197 NamedDecl *ND = Result.getFoundDecl(); in checkFormatExpr()
DSemaDeclObjC.cpp3149 NamedDecl *PrevDecl = R.getFoundDecl(); in ActOnMethodDeclaration()
DSemaLookup.cpp3809 Res.getFoundDecl()->isDefinedOutsideFunctionOrMethod()))) { in LookupPotentialTypoResult()
DSemaTemplateInstantiateDecl.cpp2281 FunctionDecl *Specialization = cast<FunctionDecl>(Previous.getFoundDecl()); in VisitClassScopeFunctionSpecializationDecl()
DTreeTransform.h6777 NamedDecl *FoundDecl = E->getFoundDecl(); in TransformMemberExpr()
6791 FoundDecl == E->getFoundDecl() && in TransformMemberExpr()
DSemaExprCXX.cpp992 const FunctionDecl *del = cast<FunctionDecl>(ops.getFoundDecl()); in doesUsualArrayDeleteWantSize()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
DMacOSKeychainAPIChecker.cpp388 StringRef DeallocatorName = DE->getFoundDecl()->getName(); in checkPreStmt()
398 if (DE->getFoundDecl()->getName() == "kCFAllocatorNull") in checkPreStmt()
DMallocChecker.cpp1960 StringRef DeallocatorName = DE->getFoundDecl()->getName(); in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Serialization/
DASTWriterStmt.cpp348 Record.push_back(E->getDecl() != E->getFoundDecl()); in VisitDeclRefExpr()
361 (E->getDecl() == E->getFoundDecl()) && in VisitDeclRefExpr()
369 if (E->getDecl() != E->getFoundDecl()) in VisitDeclRefExpr()
370 Writer.AddDeclRef(E->getFoundDecl(), Record); in VisitDeclRefExpr()
549 DeclAccessPair FoundDecl = E->getFoundDecl(); in VisitMemberExpr()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/
DASTDumper.cpp1634 if (Node->getDecl() != Node->getFoundDecl()) { in VisitDeclRefExpr()
1636 dumpBareDeclRef(Node->getFoundDecl()); in VisitDeclRefExpr()
DASTImporter.cpp4381 if (E->getDecl() != E->getFoundDecl()) { in VisitDeclRefExpr()
4382 FoundD = cast_or_null<NamedDecl>(Importer.Import(E->getFoundDecl())); in VisitDeclRefExpr()
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/AST/
DExpr.h1007 NamedDecl *getFoundDecl() { in getFoundDecl() function
1013 const NamedDecl *getFoundDecl() const { in getFoundDecl() function
2385 DeclAccessPair getFoundDecl() const { in getFoundDecl() function
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/ASTMatchers/
DASTMatchers.h1954 const NamedDecl *FoundDecl = Node.getFoundDecl(); in AST_MATCHER_P()

12