| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | ASTUtils.cpp | 84 if (auto *D = dyn_cast_or_null<VarDecl>(Ref->getFoundDecl())) { in isASafeCallArg()
|
| H A D | UncountedLocalVarsChecker.cpp | 190 dyn_cast_or_null<VarDecl>(Ref->getFoundDecl())) { in visitVarDecl()
|
| /openbsd-src/gnu/llvm/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 | 535 return dyn_cast<DeclClass>(getFoundDecl()); in getAsSingle() 543 NamedDecl *getFoundDecl() const { in getFoundDecl() function 557 return getResultKind() == Found && isa<TagDecl>(getFoundDecl()); in isSingleTagDecl()
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | ASTConcept.h | 161 NamedDecl *getFoundDecl() const { in getFoundDecl() function
|
| H A D | TypeLoc.h | 675 UsingShadowDecl *getFoundDecl() const { return getTypePtr()->getFoundDecl(); } in getFoundDecl() function 2157 NamedDecl *getFoundDecl() const { in getFoundDecl() function
|
| H A D | TypeProperties.td | 367 let Read = [{ node->getFoundDecl() }];
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaStmtAsm.cpp | 837 FoundDecl = BaseResult.getFoundDecl(); in LookupInlineAsmField() 873 FoundDecl = FieldResult.getFoundDecl(); in LookupInlineAsmField() 916 ValueDecl *FD = dyn_cast<FieldDecl>(FieldResult.getFoundDecl()); in LookupInlineAsmVarDeclField() 918 FD = dyn_cast<IndirectFieldDecl>(FieldResult.getFoundDecl()); in LookupInlineAsmVarDeclField()
|
| H A D | HLSLExternalSemaSource.cpp | 51 NamedDecl *Found = Result.getFoundDecl(); in BuiltinTypeDeclBuilder() 139 auto *VD = cast<ValueDecl>(R.getFoundDecl()); in lookupBuiltinFunction()
|
| H A D | ScopeInfo.cpp | 238 Callback(cast<ValueDecl>(DRE->getFoundDecl()), E); in visitPotentialCaptures()
|
| H A D | SemaCXXScopeSpec.cpp | 390 NamedDecl *Result = Found.getFoundDecl(); in FindFirstQualifierInScope() 657 if (NamedDecl *ND = Corrected.getFoundDecl()) in BuildCXXNestedNameSpecifier()
|
| H A D | SemaTemplate.cpp | 523 if (auto *ND = Corrected.getFoundDecl()) in LookupTemplateName() 591 getAsTemplateNameDecl(FoundOuter.getFoundDecl()))) { in LookupTemplateName() 601 getAsTemplateNameDecl(Found.getFoundDecl())->getCanonicalDecl() != in LookupTemplateName() 610 Diag(FoundOuter.getFoundDecl()->getLocation(), in LookupTemplateName() 641 Found = DRE->getFoundDecl(); in diagnoseExprIntendedAsTemplateName() 694 auto *ND = Corrected.getFoundDecl(); in diagnoseExprIntendedAsTemplateName() 4062 if (Corrected && Corrected.getFoundDecl()) { in resolveAssumedTemplateNameAsType() 4942 R.getFoundDecl(), in BuildTemplateIdExpr() 9586 (PrevVar = dyn_cast<VarDecl>(Previous.getFoundDecl()))) in CheckMemberSpecialization() 9596 (PrevRecord = dyn_cast<CXXRecordDecl>(Previous.getFoundDecl()))) { in CheckMemberSpecialization() [all …]
|
| H A D | SemaExprObjC.cpp | 2111 Corrected.isKeyword() ? nullptr : Corrected.getFoundDecl(); in HandleExprPropertyRefExpr() 2334 NamedDecl *ND = Result.getFoundDecl(); in getObjCMessageKind() 4016 NamedDecl *Target = R.getFoundDecl(); in CheckObjCBridgeNSCast() 4080 Target = R.getFoundDecl(); in CheckObjCBridgeCFCast() 4248 Target = R.getFoundDecl(); in checkObjCBridgeRelatedComponents()
|
| H A D | SemaLookup.cpp | 4641 IsDeprecated(Correction.getFoundDecl()), in addCorrection() 4645 IsDeprecated(RI->getFoundDecl()), in addCorrection() 5005 Res.getFoundDecl()->isDefinedOutsideFunctionOrMethod()))) { in LookupPotentialTypoResult() 5790 NamedDecl *Decl = Correction.getFoundDecl(); in diagnoseTypo() 5802 Correction.isKeyword() ? nullptr : Correction.getFoundDecl(); in diagnoseTypo()
|
| H A D | SemaDecl.cpp | 529 IIDecl = Result.getFoundDecl(); in getTypeName() 1010 NamedDecl *FirstDecl = Corrected.getFoundDecl(); in ClassifyName() 1531 return Previous.getFoundDecl()->hasAttr<OverloadableAttr>(); in AllowOverloadingOfFunction() 4526 OldTemplate = dyn_cast<VarTemplateDecl>(Previous.getFoundDecl()); in MergeVarDecl() 4534 Old = dyn_cast<VarDecl>(Previous.getFoundDecl()); in MergeVarDecl() 6377 Previous.getFoundDecl()->isTemplateParameter()) { in HandleDeclarator() 6381 Previous.getFoundDecl()); in HandleDeclarator() 7959 isDeclInScope(Previous.getFoundDecl(), OriginalDC, S, false)); in ActOnVariableDeclarator() 7972 isa<FieldDecl>(Previous.getFoundDecl()) && in ActOnVariableDeclarator() 8139 NamedDecl *ShadowedDecl = R.getFoundDecl(); in getShadowedDeclaration() [all …]
|
| H A D | SemaExpr.cpp | 2346 NamedDecl *ND = Corrected.getFoundDecl(); in DiagnoseEmptyLookup() 2707 MightBeImplicitMember = isa<FieldDecl>(R.getFoundDecl()) || in ActOnIdExpression() 2708 isa<IndirectFieldDecl>(R.getFoundDecl()) || in ActOnIdExpression() 2709 isa<MSPropertyDecl>(R.getFoundDecl()); in ActOnIdExpression() 2855 Lookup.getFoundDecl()->isDefinedOutsideFunctionOrMethod()); in LookupIvarInObjCMethod() 2888 Lookup.getFoundDecl()->isDefinedOutsideFunctionOrMethod()) { in LookupIvarInObjCMethod() 2891 dyn_cast<ObjCIvarDecl>(Lookup.getFoundDecl())) { in LookupIvarInObjCMethod() 3220 const auto *FD = dyn_cast<FunctionDecl>(R.getFoundDecl()); in ShouldLookupResultBeMultiVersionOverload() 3233 return BuildDeclarationNameExpr(SS, R.getLookupNameInfo(), R.getFoundDecl(), in BuildDeclarationNameExpr() 3241 CheckDeclInExpr(*this, R.getNameLoc(), R.getFoundDecl(), in BuildDeclarationNameExpr() [all …]
|
| H A D | SemaTemplateVariadic.cpp | 1020 ParameterPack = R.getFoundDecl(); in ActOnSizeofParameterPackExpr()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | TextNodeDumper.cpp | 1038 if (Node->getDecl() != Node->getFoundDecl()) { in VisitDeclRefExpr() 1040 dumpBareDeclRef(Node->getFoundDecl()); in VisitDeclRefExpr() 1421 dumpBareDeclRef(Node->getFoundDecl()); in VisitConceptSpecializationExpr() 1545 dumpDeclRef(T->getFoundDecl()); in VisitUsingType() 2126 if (TC->getNamedConcept() != TC->getFoundDecl()) { in VisitTemplateTypeParmDecl() 2128 dumpBareDeclRef(TC->getFoundDecl()); in VisitTemplateTypeParmDecl()
|
| H A D | ASTStructuralEquivalence.cpp | 268 return IsStructurallyEquivalent(Context, E1->getFoundDecl(), in IsStmtEquivalent() 269 E2->getFoundDecl()); in IsStmtEquivalent() 1008 if (!IsStructurallyEquivalent(Context, cast<UsingType>(T1)->getFoundDecl(), in IsStructurallyEquivalent() 1009 cast<UsingType>(T2)->getFoundDecl())) in IsStructurallyEquivalent()
|
| H A D | JSONNodeDumper.cpp | 539 JOS.attribute("decl", createBareDeclRef(TT->getFoundDecl())); in VisitUsingType() 1234 if (DRE->getDecl() != DRE->getFoundDecl()) in VisitDeclRefExpr() 1236 createBareDeclRef(DRE->getFoundDecl())); in VisitDeclRefExpr()
|
| H A D | ASTImporter.cpp | 1384 Expected<UsingShadowDecl *> FoundOrErr = import(T->getFoundDecl()); in VisitUsingType() 3319 if (T->getFoundDecl() && in VisitUsingType() 3320 isAncestorDeclContextOf(ParentDC, T->getFoundDecl())) in VisitUsingType() 5606 auto ToFoundDecl = importChecked(Err, TC->getFoundDecl()); in VisitTemplateTypeParmDecl() 7050 if (E->getDecl() != E->getFoundDecl()) { in VisitDeclRefExpr() 7051 auto FoundDOrErr = import(E->getFoundDecl()); in VisitDeclRefExpr() 7963 auto ToDecl = importChecked(Err, E->getFoundDecl().getDecl()); in VisitMemberExpr() 7970 DeclAccessPair::make(ToDecl, E->getFoundDecl().getAccess()); in VisitMemberExpr()
|
| /openbsd-src/gnu/llvm/clang/lib/Serialization/ |
| H A D | ASTWriterStmt.cpp | 440 Record.AddDeclRef(E->getFoundDecl()); in VisitConceptSpecializationExpr() 606 Record.push_back(E->getDecl() != E->getFoundDecl()); in VisitDeclRefExpr() 620 (E->getDecl() == E->getFoundDecl()) && in VisitDeclRefExpr() 629 if (E->getDecl() != E->getFoundDecl()) in VisitDeclRefExpr() 630 Record.AddDeclRef(E->getFoundDecl()); in VisitDeclRefExpr() 891 (E->getFoundDecl().getDecl() != E->getMemberDecl() || in VisitMemberExpr() 892 E->getFoundDecl().getAccess() != E->getMemberDecl()->getAccess()); in VisitMemberExpr() 914 DeclAccessPair FoundDecl = E->getFoundDecl(); in VisitMemberExpr()
|