| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/ |
| H A D | RecursiveSymbolVisitor.h | 65 return visit(Expr->getFoundDecl(), Expr->getLocation()); in VisitDeclRefExpr() 69 return visit(Expr->getFoundDecl().getDecl(), Expr->getMemberLoc()); in VisitMemberExpr()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
| H A D | TypoCorrection.h | 146 NamedDecl *getFoundDecl() const { in getFoundDecl() function 152 auto *D = getFoundDecl(); in getCorrectionDecl()
|
| H A D | Lookup.h | 509 return dyn_cast<DeclClass>(getFoundDecl()); in getAsSingle() 517 NamedDecl *getFoundDecl() const { in getFoundDecl() function 531 return getResultKind() == Found && isa<TagDecl>(getFoundDecl()); in isSingleTagDecl()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | ASTUtils.cpp | 85 if (auto *D = dyn_cast_or_null<VarDecl>(Ref->getFoundDecl())) { in isASafeCallArg()
|
| H A D | UncountedLocalVarsChecker.cpp | 189 dyn_cast_or_null<VarDecl>(Ref->getFoundDecl())) { in visitVarDecl()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaStmtAsm.cpp | 821 FoundDecl = BaseResult.getFoundDecl(); in LookupInlineAsmField() 857 FoundDecl = FieldResult.getFoundDecl(); in LookupInlineAsmField() 900 ValueDecl *FD = dyn_cast<FieldDecl>(FieldResult.getFoundDecl()); in LookupInlineAsmVarDeclField() 902 FD = dyn_cast<IndirectFieldDecl>(FieldResult.getFoundDecl()); in LookupInlineAsmVarDeclField()
|
| H A D | ScopeInfo.cpp | 237 Callback(cast<VarDecl>(DRE->getFoundDecl()), E); in visitPotentialCaptures()
|
| H A D | SemaCXXScopeSpec.cpp | 376 NamedDecl *Result = Found.getFoundDecl(); in FindFirstQualifierInScope() 643 if (NamedDecl *ND = Corrected.getFoundDecl()) in BuildCXXNestedNameSpecifier()
|
| H A D | SemaTemplate.cpp | 518 if (auto *ND = Corrected.getFoundDecl()) in LookupTemplateName() 586 getAsTemplateNameDecl(FoundOuter.getFoundDecl()))) { in LookupTemplateName() 596 getAsTemplateNameDecl(Found.getFoundDecl())->getCanonicalDecl() != in LookupTemplateName() 605 Diag(FoundOuter.getFoundDecl()->getLocation(), in LookupTemplateName() 636 Found = DRE->getFoundDecl(); in diagnoseExprIntendedAsTemplateName() 689 auto *ND = Corrected.getFoundDecl(); in diagnoseExprIntendedAsTemplateName() 3892 if (Corrected && Corrected.getFoundDecl()) { in resolveAssumedTemplateNameAsType() 4753 R.getFoundDecl(), in BuildTemplateIdExpr() 9224 (PrevVar = dyn_cast<VarDecl>(Previous.getFoundDecl()))) in CheckMemberSpecialization() 9234 (PrevRecord = dyn_cast<CXXRecordDecl>(Previous.getFoundDecl()))) { in CheckMemberSpecialization() [all …]
|
| H A D | SemaDecl.cpp | 462 IIDecl = Result.getFoundDecl(); in getTypeName() 959 NamedDecl *FirstDecl = Corrected.getFoundDecl(); in ClassifyName() 1459 (Previous.getFoundDecl()->hasAttr<OverloadableAttr>() || in AllowOverloadingOfFunction() 4047 OldTemplate = dyn_cast<VarTemplateDecl>(Previous.getFoundDecl()); in MergeVarDecl() 4055 Old = dyn_cast<VarDecl>(Previous.getFoundDecl()); in MergeVarDecl() 5861 Previous.getFoundDecl()->isTemplateParameter()) { in HandleDeclarator() 5865 Previous.getFoundDecl()); in HandleDeclarator() 7396 isDeclInScope(Previous.getFoundDecl(), OriginalDC, S, false)); in ActOnVariableDeclarator() 7409 isa<FieldDecl>(Previous.getFoundDecl()) && in ActOnVariableDeclarator() 7574 NamedDecl *ShadowedDecl = R.getFoundDecl(); in getShadowedDeclaration() [all …]
|
| H A D | SemaExprObjC.cpp | 2113 Corrected.isKeyword() ? nullptr : Corrected.getFoundDecl(); in HandleExprPropertyRefExpr() 2336 NamedDecl *ND = Result.getFoundDecl(); in getObjCMessageKind() 4023 Target = R.getFoundDecl(); in CheckObjCBridgeNSCast() 4089 Target = R.getFoundDecl(); in CheckObjCBridgeCFCast() 4257 Target = R.getFoundDecl(); in checkObjCBridgeRelatedComponents()
|
| H A D | SemaExpr.cpp | 2279 NamedDecl *ND = Corrected.getFoundDecl(); in DiagnoseEmptyLookup() 2639 MightBeImplicitMember = isa<FieldDecl>(R.getFoundDecl()) || in ActOnIdExpression() 2640 isa<IndirectFieldDecl>(R.getFoundDecl()) || in ActOnIdExpression() 2641 isa<MSPropertyDecl>(R.getFoundDecl()); in ActOnIdExpression() 2783 Lookup.getFoundDecl()->isDefinedOutsideFunctionOrMethod()); in LookupIvarInObjCMethod() 2816 Lookup.getFoundDecl()->isDefinedOutsideFunctionOrMethod()) { in LookupIvarInObjCMethod() 2819 dyn_cast<ObjCIvarDecl>(Lookup.getFoundDecl())) { in LookupIvarInObjCMethod() 3147 const auto *FD = dyn_cast<FunctionDecl>(R.getFoundDecl()); in ShouldLookupResultBeMultiVersionOverload() 3160 return BuildDeclarationNameExpr(SS, R.getLookupNameInfo(), R.getFoundDecl(), in BuildDeclarationNameExpr() 3168 CheckDeclInExpr(*this, R.getNameLoc(), R.getFoundDecl())) in BuildDeclarationNameExpr() [all …]
|
| H A D | SemaTemplateVariadic.cpp | 1017 ParameterPack = R.getFoundDecl(); in ActOnSizeofParameterPackExpr()
|
| H A D | SemaLookup.cpp | 4668 Res.getFoundDecl()->isDefinedOutsideFunctionOrMethod()))) { in LookupPotentialTypoResult() 5459 NamedDecl *Decl = Correction.getFoundDecl(); in diagnoseTypo() 5471 Correction.isKeyword() ? nullptr : Correction.getFoundDecl(); in diagnoseTypo()
|
| H A D | TreeTransform.h | 6555 NewTL.setFoundDecl(TL.getFoundDecl()); in TransformAutoType() 10203 if (E->getFoundDecl() != E->getDecl()) { in TransformDeclRefExpr() 10205 getDerived().TransformDecl(E->getLocation(), E->getFoundDecl())); in TransformDeclRefExpr() 10220 Found == E->getFoundDecl() && in TransformDeclRefExpr() 10769 NamedDecl *FoundDecl = E->getFoundDecl(); in TransformMemberExpr() 10783 FoundDecl == E->getFoundDecl() && in TransformMemberExpr() 10894 E->getOperatorLoc(), Callee->getFoundDecl())); in TransformCXXRewrittenBinaryOperator() 12207 E->getConceptNameInfo(), E->getFoundDecl(), E->getNamedConcept(), in TransformConceptSpecializationExpr()
|
| H A D | SemaCoroutine.cpp | 1237 S.Diag(Found.getFoundDecl()->getLocation(), diag::note_member_declared_here) in makeReturnOnAllocFailure()
|
| H A D | SemaDeclCXX.cpp | 853 Previous.getFoundDecl()->isTemplateParameter()) { in ActOnDecompositionDeclarator() 855 Previous.getFoundDecl()); in ActOnDecompositionDeclarator() 11432 R.addDecl(Corrected.getFoundDecl()); in TryNamespaceTypoCorrection() 12213 Diag(R.getFoundDecl()->getLocation(), diag::note_using_decl_target); in BuildUsingDeclaration() 12604 Previous.getFoundDecl()->isTemplateParameter()) { in ActOnAliasDeclaration() 12605 DiagnoseTemplateParameterShadow(Name.StartLocation,Previous.getFoundDecl()); in ActOnAliasDeclaration() 12751 if (PrevR.isSingleResult() && PrevR.getFoundDecl()->isTemplateParameter()) { in ActOnNamespaceAliasDef() 12752 DiagnoseTemplateParameterShadow(AliasLoc, PrevR.getFoundDecl()); in ActOnNamespaceAliasDef()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| H A D | ASTConcept.h | 150 NamedDecl *getFoundDecl() const { in getFoundDecl() function
|
| H A D | Expr.h | 1322 NamedDecl *getFoundDecl() { in getFoundDecl() function 1328 const NamedDecl *getFoundDecl() const { in getFoundDecl() function 3175 DeclAccessPair getFoundDecl() const { in getFoundDecl() function
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRLocFinder.cpp | 216 const NamedDecl *Decl = Expr->getFoundDecl(); in VisitMemberExpr() 269 const NamedDecl *Decl = Expr->getFoundDecl(); in VisitDeclRefExpr()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MacOSKeychainAPIChecker.cpp | 364 StringRef DeallocatorName = DE->getFoundDecl()->getName(); in checkPreStmt() 374 if (DE->getFoundDecl()->getName() == "kCFAllocatorNull") in checkPreStmt()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | TextNodeDumper.cpp | 982 if (Node->getDecl() != Node->getFoundDecl()) { in VisitDeclRefExpr() 984 dumpBareDeclRef(Node->getFoundDecl()); in VisitDeclRefExpr() 1360 dumpBareDeclRef(Node->getFoundDecl()); in VisitConceptSpecializationExpr() 2017 if (TC->getNamedConcept() != TC->getFoundDecl()) { in VisitTemplateTypeParmDecl() 2019 dumpBareDeclRef(TC->getFoundDecl()); in VisitTemplateTypeParmDecl()
|
| H A D | JSONNodeDumper.cpp | 1156 if (DRE->getDecl() != DRE->getFoundDecl()) in VisitDeclRefExpr() 1158 createBareDeclRef(DRE->getFoundDecl())); in VisitDeclRefExpr()
|
| H A D | ASTStructuralEquivalence.cpp | 265 return IsStructurallyEquivalent(Context, E1->getFoundDecl(), in IsStmtEquivalent() 266 E2->getFoundDecl()); in IsStmtEquivalent()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/ |
| H A D | ASTWriterStmt.cpp | 439 Record.AddDeclRef(E->getFoundDecl()); in VisitConceptSpecializationExpr() 599 Record.push_back(E->getDecl() != E->getFoundDecl()); in VisitDeclRefExpr() 613 (E->getDecl() == E->getFoundDecl()) && in VisitDeclRefExpr() 622 if (E->getDecl() != E->getFoundDecl()) in VisitDeclRefExpr() 623 Record.AddDeclRef(E->getFoundDecl()); in VisitDeclRefExpr() 884 (E->getFoundDecl().getDecl() != E->getMemberDecl() || in VisitMemberExpr() 885 E->getFoundDecl().getAccess() != E->getMemberDecl()->getAccess()); in VisitMemberExpr() 907 DeclAccessPair FoundDecl = E->getFoundDecl(); in VisitMemberExpr()
|