| /freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Sema/ |
| D | Lookup.h | 445 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/ |
| D | SemaStmtAsm.cpp | 442 NamedDecl *FoundDecl = BaseResult.getFoundDecl(); in LookupInlineAsmField() 460 FieldDecl *FD = dyn_cast<FieldDecl>(FieldResult.getFoundDecl()); in LookupInlineAsmField()
|
| D | ScopeInfo.cpp | 193 VD = dyn_cast<VarDecl>(DRE->getFoundDecl()); in getPotentialVariableCapture()
|
| D | SemaDecl.cpp | 296 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 …]
|
| D | SemaTemplate.cpp | 384 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()
|
| D | SemaTemplateVariadic.cpp | 814 ParameterPack = R.getFoundDecl(); in ActOnSizeofParameterPackExpr()
|
| D | SemaCXXScopeSpec.cpp | 301 NamedDecl *Result = Found.getFoundDecl(); in FindFirstQualifierInScope()
|
| D | SemaExpr.cpp | 2115 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 …]
|
| D | SemaExprObjC.cpp | 1836 NamedDecl *ND = Result.getFoundDecl(); in getObjCMessageKind() 3192 Target = R.getFoundDecl(); in CheckObjCBridgeNSCast() 3236 Target = R.getFoundDecl(); in CheckObjCBridgeCFCast()
|
| D | SemaOpenMP.cpp | 425 Diag(Lookup.getFoundDecl()->getLocation(), diag::note_declared_at); in ActOnOpenMPIdExpression()
|
| D | SemaExprMember.cpp | 1014 NamedDecl *MemberDecl = R.getFoundDecl(); in BuildMemberReferenceExpr()
|
| D | SemaDeclCXX.cpp | 6912 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()
|
| D | SemaChecking.cpp | 1494 assert(Res.getFoundDecl()); in SemaBuiltinAtomicOverloaded() 1495 NewBuiltinDecl = dyn_cast<FunctionDecl>(Res.getFoundDecl()); in SemaBuiltinAtomicOverloaded() 3197 NamedDecl *ND = Result.getFoundDecl(); in checkFormatExpr()
|
| D | SemaDeclObjC.cpp | 3149 NamedDecl *PrevDecl = R.getFoundDecl(); in ActOnMethodDeclaration()
|
| D | SemaLookup.cpp | 3809 Res.getFoundDecl()->isDefinedOutsideFunctionOrMethod()))) { in LookupPotentialTypoResult()
|
| D | SemaTemplateInstantiateDecl.cpp | 2281 FunctionDecl *Specialization = cast<FunctionDecl>(Previous.getFoundDecl()); in VisitClassScopeFunctionSpecializationDecl()
|
| D | TreeTransform.h | 6777 NamedDecl *FoundDecl = E->getFoundDecl(); in TransformMemberExpr() 6791 FoundDecl == E->getFoundDecl() && in TransformMemberExpr()
|
| D | SemaExprCXX.cpp | 992 const FunctionDecl *del = cast<FunctionDecl>(ops.getFoundDecl()); in doesUsualArrayDeleteWantSize()
|
| /freebsd-10-stable/contrib/llvm/tools/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 | 1960 StringRef DeallocatorName = DE->getFoundDecl()->getName(); in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
|
| /freebsd-10-stable/contrib/llvm/tools/clang/lib/Serialization/ |
| D | ASTWriterStmt.cpp | 348 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/ |
| D | ASTDumper.cpp | 1634 if (Node->getDecl() != Node->getFoundDecl()) { in VisitDeclRefExpr() 1636 dumpBareDeclRef(Node->getFoundDecl()); in VisitDeclRefExpr()
|
| D | ASTImporter.cpp | 4381 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/ |
| D | Expr.h | 1007 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/ |
| D | ASTMatchers.h | 1954 const NamedDecl *FoundDecl = Node.getFoundDecl(); in AST_MATCHER_P()
|