| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTConcept.h | 196 NamedDecl *getFoundDecl() const { in getFoundDecl() function 273 NamedDecl *getFoundDecl() const { return ConceptRef->getFoundDecl(); } in getFoundDecl() function
|
| H A D | ExprConcepts.h | 110 NamedDecl *getFoundDecl() const { return ConceptRef->getFoundDecl(); } in getFoundDecl() function
|
| H A D | TypeLoc.h | 689 UsingShadowDecl *getFoundDecl() const { return getTypePtr()->getFoundDecl(); } in getFoundDecl() function 2281 NamedDecl *getFoundDecl() const { in getFoundDecl() function 2283 return CR->getFoundDecl(); in getFoundDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | InterpreterUtils.cpp | 68 return dyn_cast<NamespaceDecl>(R.getFoundDecl()); in LookupNamespace() 100 return llvm::dyn_cast<NamedDecl>(R.getFoundDecl()); in LookupNamed()
|
| /freebsd/contrib/llvm-project/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()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Lookup.h | 561 return dyn_cast<DeclClass>(getFoundDecl()); in getAsSingle() 569 NamedDecl *getFoundDecl() const { in getFoundDecl() function 584 isa<TagDecl>(getFoundDecl()); in isSingleTagDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaStmtAsm.cpp | 879 FoundDecl = BaseResult.getFoundDecl(); in LookupInlineAsmField() 915 FoundDecl = FieldResult.getFoundDecl(); in LookupInlineAsmField() 958 ValueDecl *FD = dyn_cast<FieldDecl>(FieldResult.getFoundDecl()); in LookupInlineAsmVarDeclField() 960 FD = dyn_cast<IndirectFieldDecl>(FieldResult.getFoundDecl()); in LookupInlineAsmVarDeclField()
|
| H A D | ScopeInfo.cpp | 239 Callback(cast<ValueDecl>(DRE->getFoundDecl()), E); in visitPotentialCaptures()
|
| H A D | HLSLBuiltinTypeDeclBuilder.cpp | 48 return cast<FunctionDecl>(R.getFoundDecl()); in lookupBuiltinFunction() 541 NamedDecl *Found = Result.getFoundDecl(); in BuiltinTypeDeclBuilder()
|
| H A D | SemaCXXScopeSpec.cpp | 372 NamedDecl *Result = Found.getFoundDecl(); in FindFirstQualifierInScope() 563 if (NamedDecl *ND = Corrected.getFoundDecl()) in BuildCXXNestedNameSpecifier()
|
| H A D | SemaExprObjC.cpp | 2113 Corrected.isKeyword() ? nullptr : Corrected.getFoundDecl(); in HandleExprPropertyRefExpr() 2335 NamedDecl *ND = Result.getFoundDecl(); in getObjCMessageKind() 4020 NamedDecl *Target = R.getFoundDecl(); in CheckObjCBridgeNSCast() 4084 Target = R.getFoundDecl(); in CheckObjCBridgeCFCast() 4249 Target = R.getFoundDecl(); in checkObjCBridgeRelatedComponents() 4801 Lookup.getFoundDecl()->isDefinedOutsideFunctionOrMethod()); in LookupIvarInObjCMethod() 4834 Lookup.getFoundDecl()->isDefinedOutsideFunctionOrMethod()) { in LookupIvarInObjCMethod() 4837 dyn_cast<ObjCIvarDecl>(Lookup.getFoundDecl())) { in LookupIvarInObjCMethod() 5141 NamedDecl *ND = Result.getFoundDecl(); in ActOnObjCBoolLiteral()
|
| H A D | SemaTemplate.cpp | 520 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() 695 auto *ND = Corrected.getFoundDecl(); in diagnoseExprIntendedAsTemplateName() 1254 TL.getNamedConcept(), /*FoundDecl=*/TL.getFoundDecl(), TL.getLAngleLoc(), in AttachTypeConstraint() 3826 if (Corrected && Corrected.getFoundDecl()) { in resolveAssumedTemplateNameAsType() 4826 !R.getFoundDecl()->getAsFunction()) in BuildTemplateIdExpr() 9644 (PrevVar = dyn_cast<VarDecl>(Previous.getFoundDecl()))) in CheckMemberSpecialization() [all …]
|
| H A D | SemaLookup.cpp | 4684 IsDeprecated(Correction.getFoundDecl()), in addCorrection() 4688 IsDeprecated(RI->getFoundDecl()), in addCorrection() 5047 Res.getFoundDecl()->isDefinedOutsideFunctionOrMethod()))) { in LookupPotentialTypoResult() 5742 NamedDecl *Decl = Correction.getFoundDecl(); in diagnoseTypo() 5754 Correction.isKeyword() ? nullptr : Correction.getFoundDecl(); in diagnoseTypo()
|
| H A D | SemaExprMember.cpp | 300 return isa<FieldDecl, IndirectFieldDecl, MSPropertyDecl>(R.getFoundDecl()); in isPotentialImplicitMemberAccess() 990 NamedDecl *MemberDecl = R.getFoundDecl(); in BuildMemberReferenceExpr()
|
| H A D | SemaDecl.cpp | 526 IIDecl = Result.getFoundDecl(); in getTypeName() 987 NamedDecl *FirstDecl = Corrected.getFoundDecl(); in ClassifyName() 1507 return Previous.getFoundDecl()->hasAttr<OverloadableAttr>(); in AllowOverloadingOfFunction() 4568 OldTemplate = dyn_cast<VarTemplateDecl>(Previous.getFoundDecl()); in MergeVarDecl() 4576 Old = dyn_cast<VarDecl>(Previous.getFoundDecl()); in MergeVarDecl() 8150 isDeclInScope(Previous.getFoundDecl(), OriginalDC, S, false)); in ActOnVariableDeclarator() 8164 isa<FieldDecl>(Previous.getFoundDecl()) && in ActOnVariableDeclarator() 8338 NamedDecl *ShadowedDecl = R.getFoundDecl(); in getShadowedDeclaration() 8352 NamedDecl *ShadowedDecl = R.getFoundDecl(); in getShadowedDeclaration() 8361 NamedDecl *ShadowedDecl = R.getFoundDecl(); in getShadowedDeclaration() [all …]
|
| H A D | SemaOpenACC.cpp | 565 DRE->getFoundDecl()->getCanonicalDecl())) in ActOnCacheVar() 662 DRE->getFoundDecl()->getCanonicalDecl())) in ActOnVar()
|
| H A D | SemaDeclCXX.cpp | 890 Previous.getFoundDecl()->isTemplateParameter()) { in ActOnDecompositionDeclarator() 891 DiagnoseTemplateParameterShadow(B.NameLoc, Previous.getFoundDecl()); in ActOnDecompositionDeclarator() 12373 auto *ND = cast<NamespaceDecl>(Corrected.getFoundDecl()); in DiagnoseInvisibleNamespace() 12380 << (int)Sema::MissingImportKind::Declaration << Corrected.getFoundDecl() in DiagnoseInvisibleNamespace() 12385 << (int)Sema::MissingImportKind::Declaration << Corrected.getFoundDecl() in DiagnoseInvisibleNamespace() 12404 if (isa_and_nonnull<NamespaceDecl>(Corrected.getFoundDecl()) && in TryNamespaceTypoCorrection() 12420 R.addDecl(Corrected.getFoundDecl()); in TryNamespaceTypoCorrection() 13107 Previous.getFoundDecl()->isTemplateParameter()) in BuildUsingDeclaration() 13108 DiagnoseTemplateParameterShadow(IdentLoc, Previous.getFoundDecl()); in BuildUsingDeclaration() 13260 Diag(R.getFoundDecl()->getLocation(), diag::note_using_decl_target); in BuildUsingDeclaration() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRLocFinder.cpp | 215 const NamedDecl *Decl = Expr->getFoundDecl(); in VisitMemberExpr() 269 const NamedDecl *Decl = Expr->getFoundDecl(); in VisitDeclRefExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MacOSKeychainAPIChecker.cpp | 355 StringRef DeallocatorName = DE->getFoundDecl()->getName(); in checkPreStmt() 365 if (DE->getFoundDecl()->getName() == "kCFAllocatorNull") in checkPreStmt()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | ASTUtils.cpp | 190 auto *FoundDecl = Ref->getFoundDecl(); in isASafeCallArg()
|
| H A D | RawPtrRefLocalVarsChecker.cpp | 315 dyn_cast_or_null<VarDecl>(Ref->getFoundDecl())) { in visitVarDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | TextNodeDumper.cpp | 1523 if (Node->getDecl() != Node->getFoundDecl()) { in VisitDeclRefExpr() 1525 dumpBareDeclRef(Node->getFoundDecl()); in VisitDeclRefExpr() 1934 dumpBareDeclRef(Node->getFoundDecl()); in VisitConceptSpecializationExpr() 2120 dumpDeclRef(T->getFoundDecl()); in VisitUsingType() 2748 if (TC->getNamedConcept() != TC->getFoundDecl()) { in VisitTemplateTypeParmDecl() 2750 dumpBareDeclRef(TC->getFoundDecl()); in VisitTemplateTypeParmDecl()
|
| H A D | ASTStructuralEquivalence.cpp | 282 return IsStructurallyEquivalent(Context, E1->getFoundDecl(), in IsStmtEquivalent() 283 E2->getFoundDecl()); in IsStmtEquivalent() 1215 if (!IsStructurallyEquivalent(Context, cast<UsingType>(T1)->getFoundDecl(), in IsStructurallyEquivalent() 1216 cast<UsingType>(T2)->getFoundDecl())) in IsStructurallyEquivalent()
|
| H A D | JSONNodeDumper.cpp | 609 JOS.attribute("decl", createBareDeclRef(TT->getFoundDecl())); in VisitUsingType() 1343 if (DRE->getDecl() != DRE->getFoundDecl()) in VisitDeclRefExpr() 1345 createBareDeclRef(DRE->getFoundDecl())); in VisitDeclRefExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriterStmt.cpp | 695 CurrentPackingBits.addBit(E->getDecl() != E->getFoundDecl()); in VisitDeclRefExpr() 707 (E->getDecl() == E->getFoundDecl()) && in VisitDeclRefExpr() 715 if (E->getDecl() != E->getFoundDecl()) in VisitDeclRefExpr() 716 Record.AddDeclRef(E->getFoundDecl()); in VisitDeclRefExpr() 1020 DeclAccessPair FoundDecl = E->getFoundDecl(); in VisitMemberExpr()
|