| /src/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTConcept.h | 196 NamedDecl *getFoundDecl() const { in getFoundDecl() function 269 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 | 687 UsingShadowDecl *getFoundDecl() const { return getTypePtr()->getFoundDecl(); } in getFoundDecl() function 2225 NamedDecl *getFoundDecl() const { in getFoundDecl() function 2227 return CR->getFoundDecl(); in getFoundDecl()
|
| /src/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()
|
| /src/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()
|
| /src/contrib/llvm-project/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 | 560 return dyn_cast<DeclClass>(getFoundDecl()); in getAsSingle() 568 NamedDecl *getFoundDecl() const { in getFoundDecl() function 582 return getResultKind() == Found && isa<TagDecl>(getFoundDecl()); in isSingleTagDecl()
|
| /src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | ASTUtils.cpp | 118 if (auto *D = dyn_cast_or_null<VarDecl>(Ref->getFoundDecl())) { in isASafeCallArg()
|
| H A D | UncountedLocalVarsChecker.cpp | 216 dyn_cast_or_null<VarDecl>(Ref->getFoundDecl())) { in visitVarDecl()
|
| /src/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaStmtAsm.cpp | 839 FoundDecl = BaseResult.getFoundDecl(); in LookupInlineAsmField() 875 FoundDecl = FieldResult.getFoundDecl(); in LookupInlineAsmField() 918 ValueDecl *FD = dyn_cast<FieldDecl>(FieldResult.getFoundDecl()); in LookupInlineAsmVarDeclField() 920 FD = dyn_cast<IndirectFieldDecl>(FieldResult.getFoundDecl()); in LookupInlineAsmVarDeclField()
|
| H A D | ScopeInfo.cpp | 240 Callback(cast<ValueDecl>(DRE->getFoundDecl()), E); in visitPotentialCaptures()
|
| H A D | HLSLExternalSemaSource.cpp | 51 NamedDecl *Found = Result.getFoundDecl(); in BuiltinTypeDeclBuilder() 142 auto *VD = cast<ValueDecl>(R.getFoundDecl()); in lookupBuiltinFunction()
|
| H A D | SemaCXXScopeSpec.cpp | 377 NamedDecl *Result = Found.getFoundDecl(); in FindFirstQualifierInScope() 568 if (NamedDecl *ND = Corrected.getFoundDecl()) in BuildCXXNestedNameSpecifier()
|
| H A D | SemaExprObjC.cpp | 2124 Corrected.isKeyword() ? nullptr : Corrected.getFoundDecl(); in HandleExprPropertyRefExpr() 2346 NamedDecl *ND = Result.getFoundDecl(); in getObjCMessageKind() 4030 NamedDecl *Target = R.getFoundDecl(); in CheckObjCBridgeNSCast() 4094 Target = R.getFoundDecl(); in CheckObjCBridgeCFCast() 4259 Target = R.getFoundDecl(); in checkObjCBridgeRelatedComponents() 4807 Lookup.getFoundDecl()->isDefinedOutsideFunctionOrMethod()); in LookupIvarInObjCMethod() 4840 Lookup.getFoundDecl()->isDefinedOutsideFunctionOrMethod()) { in LookupIvarInObjCMethod() 4843 dyn_cast<ObjCIvarDecl>(Lookup.getFoundDecl())) { in LookupIvarInObjCMethod() 5147 NamedDecl *ND = Result.getFoundDecl(); in ActOnObjCBoolLiteral()
|
| 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() 1248 TL.getNamedConcept(), /*FoundDecl=*/TL.getFoundDecl(), TL.getLAngleLoc(), in AttachTypeConstraint() 3541 if (Corrected && Corrected.getFoundDecl()) { in resolveAssumedTemplateNameAsType() 4446 !R.getFoundDecl()->getAsFunction()) in BuildTemplateIdExpr() 9116 (PrevVar = dyn_cast<VarDecl>(Previous.getFoundDecl()))) in CheckMemberSpecialization() [all …]
|
| H A D | SemaLookup.cpp | 4590 IsDeprecated(Correction.getFoundDecl()), in addCorrection() 4594 IsDeprecated(RI->getFoundDecl()), in addCorrection() 4955 Res.getFoundDecl()->isDefinedOutsideFunctionOrMethod()))) { in LookupPotentialTypoResult() 5684 NamedDecl *Decl = Correction.getFoundDecl(); in diagnoseTypo() 5696 Correction.isKeyword() ? nullptr : Correction.getFoundDecl(); in diagnoseTypo()
|
| H A D | SemaExprMember.cpp | 302 return isa<FieldDecl, IndirectFieldDecl, MSPropertyDecl>(R.getFoundDecl()); in isPotentialImplicitMemberAccess() 1105 NamedDecl *MemberDecl = R.getFoundDecl(); in BuildMemberReferenceExpr()
|
| H A D | SemaDecl.cpp | 500 IIDecl = Result.getFoundDecl(); in getTypeName() 970 NamedDecl *FirstDecl = Corrected.getFoundDecl(); in ClassifyName() 1490 return Previous.getFoundDecl()->hasAttr<OverloadableAttr>(); in AllowOverloadingOfFunction() 4474 OldTemplate = dyn_cast<VarTemplateDecl>(Previous.getFoundDecl()); in MergeVarDecl() 4482 Old = dyn_cast<VarDecl>(Previous.getFoundDecl()); in MergeVarDecl() 7961 isDeclInScope(Previous.getFoundDecl(), OriginalDC, S, false)); in ActOnVariableDeclarator() 7974 isa<FieldDecl>(Previous.getFoundDecl()) && in ActOnVariableDeclarator() 8147 NamedDecl *ShadowedDecl = R.getFoundDecl(); in getShadowedDeclaration() 8161 NamedDecl *ShadowedDecl = R.getFoundDecl(); in getShadowedDeclaration() 8170 NamedDecl *ShadowedDecl = R.getFoundDecl(); in getShadowedDeclaration() [all …]
|
| H A D | SemaTemplateVariadic.cpp | 1030 ParameterPack = R.getFoundDecl(); in ActOnSizeofParameterPackExpr()
|
| /src/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRLocFinder.cpp | 216 const NamedDecl *Decl = Expr->getFoundDecl(); in VisitMemberExpr() 270 const NamedDecl *Decl = Expr->getFoundDecl(); in VisitDeclRefExpr()
|
| /src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MacOSKeychainAPIChecker.cpp | 356 StringRef DeallocatorName = DE->getFoundDecl()->getName(); in checkPreStmt() 366 if (DE->getFoundDecl()->getName() == "kCFAllocatorNull") in checkPreStmt()
|
| /src/contrib/llvm-project/clang/lib/AST/ |
| H A D | TextNodeDumper.cpp | 1370 if (Node->getDecl() != Node->getFoundDecl()) { in VisitDeclRefExpr() 1372 dumpBareDeclRef(Node->getFoundDecl()); in VisitDeclRefExpr() 1781 dumpBareDeclRef(Node->getFoundDecl()); in VisitConceptSpecializationExpr() 1968 dumpDeclRef(T->getFoundDecl()); in VisitUsingType() 2586 if (TC->getNamedConcept() != TC->getFoundDecl()) { in VisitTemplateTypeParmDecl() 2588 dumpBareDeclRef(TC->getFoundDecl()); in VisitTemplateTypeParmDecl()
|
| H A D | ASTStructuralEquivalence.cpp | 280 return IsStructurallyEquivalent(Context, E1->getFoundDecl(), in IsStmtEquivalent() 281 E2->getFoundDecl()); in IsStmtEquivalent() 1110 if (!IsStructurallyEquivalent(Context, cast<UsingType>(T1)->getFoundDecl(), in IsStructurallyEquivalent() 1111 cast<UsingType>(T2)->getFoundDecl())) in IsStructurallyEquivalent()
|
| H A D | JSONNodeDumper.cpp | 610 JOS.attribute("decl", createBareDeclRef(TT->getFoundDecl())); in VisitUsingType() 1335 if (DRE->getDecl() != DRE->getFoundDecl()) in VisitDeclRefExpr() 1337 createBareDeclRef(DRE->getFoundDecl())); in VisitDeclRefExpr()
|
| /src/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriterStmt.cpp | 680 CurrentPackingBits.addBit(E->getDecl() != E->getFoundDecl()); in VisitDeclRefExpr() 692 (E->getDecl() == E->getFoundDecl()) && in VisitDeclRefExpr() 700 if (E->getDecl() != E->getFoundDecl()) in VisitDeclRefExpr() 701 Record.AddDeclRef(E->getFoundDecl()); in VisitDeclRefExpr() 1002 DeclAccessPair FoundDecl = E->getFoundDecl(); in VisitMemberExpr()
|