| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/Refactoring/ |
| H A D | RecursiveSymbolVisitor.h | 66 return visit(Expr->getFoundDecl(), Expr->getLocation()); in VisitDeclRefExpr() 70 return visit(Expr->getFoundDecl().getDecl(), Expr->getMemberLoc()); in VisitMemberExpr()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | TypoCorrection.h | 147 NamedDecl *getFoundDecl() const { in getFoundDecl() function 153 auto *D = getFoundDecl(); in getCorrectionDecl()
|
| H A D | Lookup.h | 498 return dyn_cast<DeclClass>(getFoundDecl()); in getAsSingle() 506 NamedDecl *getFoundDecl() const { in getFoundDecl() function 520 return getResultKind() == Found && isa<TagDecl>(getFoundDecl()); in isSingleTagDecl()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaStmtAsm.cpp | 745 FoundDecl = BaseResult.getFoundDecl(); in LookupInlineAsmField() 781 FoundDecl = FieldResult.getFoundDecl(); in LookupInlineAsmField() 824 ValueDecl *FD = dyn_cast<FieldDecl>(FieldResult.getFoundDecl()); in LookupInlineAsmVarDeclField() 826 FD = dyn_cast<IndirectFieldDecl>(FieldResult.getFoundDecl()); in LookupInlineAsmVarDeclField()
|
| H A D | ScopeInfo.cpp | 242 VD = dyn_cast<VarDecl>(DRE->getFoundDecl()); in getPotentialVariableCapture()
|
| H A D | SemaCXXScopeSpec.cpp | 377 NamedDecl *Result = Found.getFoundDecl(); in FindFirstQualifierInScope() 639 if (NamedDecl *ND = Corrected.getFoundDecl()) in BuildCXXNestedNameSpecifier()
|
| H A D | SemaTemplate.cpp | 408 if (auto *ND = Corrected.getFoundDecl()) in LookupTemplateName() 478 Found.getFoundDecl()->getCanonicalDecl() in LookupTemplateName() 479 != FoundOuter.getFoundDecl()->getCanonicalDecl()) { in LookupTemplateName() 487 Diag(FoundOuter.getFoundDecl()->getLocation(), in LookupTemplateName() 518 Found = DRE->getFoundDecl(); in diagnoseExprIntendedAsTemplateName() 567 auto *ND = Corrected.getFoundDecl(); in diagnoseExprIntendedAsTemplateName() 8379 (PrevVar = dyn_cast<VarDecl>(Previous.getFoundDecl()))) in CheckMemberSpecialization() 8398 (PrevEnum = dyn_cast<EnumDecl>(Previous.getFoundDecl()))) { in CheckMemberSpecialization() 9724 if (TypeDecl *Type = dyn_cast<TypeDecl>(Result.getFoundDecl())) { in CheckTypenameType() 9760 if (auto *TD = getAsTypeTemplateDecl(Result.getFoundDecl())) { in CheckTypenameType() [all …]
|
| H A D | SemaDecl.cpp | 458 IIDecl = Result.getFoundDecl(); in getTypeName() 937 NamedDecl *FirstDecl = Corrected.getFoundDecl(); in ClassifyName() 3804 Old = dyn_cast<VarDecl>(Previous.getFoundDecl()); in MergeVarDecl() 5464 Previous.getFoundDecl()->isTemplateParameter()) { in HandleDeclarator() 6821 isa<FieldDecl>(Previous.getFoundDecl()) && in ActOnVariableDeclarator() 6981 NamedDecl *ShadowedDecl = R.getFoundDecl(); in getShadowedDeclaration() 6998 NamedDecl *ShadowedDecl = R.getFoundDecl(); in getShadowedDeclaration() 9989 OldDecl = Previous.getFoundDecl(); in CheckFunctionDeclaration() 12416 NamedDecl *PrevDecl = R.getFoundDecl(); in ActOnParamDeclarator() 14297 NamedDecl *ND = Previous.getFoundDecl(); in ActOnTag() [all …]
|
| H A D | SemaExprObjC.cpp | 1935 Corrected.isKeyword() ? nullptr : Corrected.getFoundDecl(); in HandleExprPropertyRefExpr() 2154 NamedDecl *ND = Result.getFoundDecl(); in getObjCMessageKind() 3798 Target = R.getFoundDecl(); in CheckObjCBridgeNSCast() 3864 Target = R.getFoundDecl(); in CheckObjCBridgeCFCast() 4032 Target = R.getFoundDecl(); in checkObjCBridgeRelatedComponents()
|
| H A D | SemaTemplateVariadic.cpp | 965 ParameterPack = R.getFoundDecl(); in ActOnSizeofParameterPackExpr()
|
| H A D | SemaExpr.cpp | 1929 NamedDecl *ND = Corrected.getFoundDecl(); in DiagnoseEmptyLookup() 2287 MightBeImplicitMember = isa<FieldDecl>(R.getFoundDecl()) || in ActOnIdExpression() 2288 isa<IndirectFieldDecl>(R.getFoundDecl()) || in ActOnIdExpression() 2289 isa<MSPropertyDecl>(R.getFoundDecl()); in ActOnIdExpression() 2506 Lookup.getFoundDecl()->isDefinedOutsideFunctionOrMethod()) { in LookupInObjCMethod() 2779 const auto *FD = dyn_cast<FunctionDecl>(R.getFoundDecl()); in ShouldLookupResultBeMultiVersionOverload() 2800 CheckDeclInExpr(*this, R.getNameLoc(), R.getFoundDecl())) in BuildDeclarationNameExpr() 3747 if (ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(DeclRef->getFoundDecl())) { in CheckUnaryExprOrTypeTraitOperand() 4833 if (NamedDecl *ND = Corrected.getFoundDecl()) { in TryTypoCorrectionForCall() 15546 Var = dyn_cast<VarDecl>(DRE->getFoundDecl()); in UpdateMarkingForLValueToRValue() [all …]
|
| H A D | SemaLookup.cpp | 4390 Res.getFoundDecl()->isDefinedOutsideFunctionOrMethod()))) { in LookupPotentialTypoResult() 5161 NamedDecl *Decl = Correction.getFoundDecl(); in diagnoseTypo() 5173 Correction.isKeyword() ? nullptr : Correction.getFoundDecl(); in diagnoseTypo()
|
| H A D | SemaDeclCXX.cpp | 800 Previous.getFoundDecl()->isTemplateParameter()) { in ActOnDecompositionDeclarator() 802 Previous.getFoundDecl()); in ActOnDecompositionDeclarator() 9351 R.addDecl(Corrected.getFoundDecl()); in TryNamespaceTypoCorrection() 10129 Diag(R.getFoundDecl()->getLocation(), diag::note_using_decl_target); in BuildUsingDeclaration() 10520 Previous.getFoundDecl()->isTemplateParameter()) { in ActOnAliasDeclaration() 10521 DiagnoseTemplateParameterShadow(Name.StartLocation,Previous.getFoundDecl()); in ActOnAliasDeclaration() 10667 if (PrevR.isSingleResult() && PrevR.getFoundDecl()->isTemplateParameter()) { in ActOnNamespaceAliasDef() 10668 DiagnoseTemplateParameterShadow(AliasLoc, PrevR.getFoundDecl()); in ActOnNamespaceAliasDef()
|
| H A D | SemaCoroutine.cpp | 1082 S.Diag(Found.getFoundDecl()->getLocation(), diag::note_member_declared_here) in makeReturnOnAllocFailure()
|
| H A D | SemaExprCXX.cpp | 7515 if (auto *ND = TC.getFoundDecl()) { in attemptRecovery() 7635 return DRE->getFoundDecl(); in getDeclFromExpr() 7637 return ME->getFoundDecl(); in getDeclFromExpr() 7742 if (InitDecl && TC.getFoundDecl() == InitDecl) in TransformTypoExpr()
|
| H A D | SemaExprMember.cpp | 1059 NamedDecl *MemberDecl = R.getFoundDecl(); in BuildMemberReferenceExpr()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRLocFinder.cpp | 216 const NamedDecl *Decl = Expr->getFoundDecl(); in VisitMemberExpr() 251 const NamedDecl *Decl = Expr->getFoundDecl(); in VisitDeclRefExpr()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MacOSKeychainAPIChecker.cpp | 361 StringRef DeallocatorName = DE->getFoundDecl()->getName(); in checkPreStmt() 371 if (DE->getFoundDecl()->getName() == "kCFAllocatorNull") in checkPreStmt()
|
| H A D | MallocChecker.cpp | 2715 StringRef DeallocatorName = DE->getFoundDecl()->getName(); in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | TextNodeDumper.cpp | 685 if (Node->getDecl() != Node->getFoundDecl()) { in VisitDeclRefExpr() 687 dumpBareDeclRef(Node->getFoundDecl()); in VisitDeclRefExpr()
|
| H A D | ASTImporter.cpp | 6125 if (E->getDecl() != E->getFoundDecl()) { in VisitDeclRefExpr() 6126 auto FoundDOrErr = import(E->getFoundDecl()); in VisitDeclRefExpr() 7040 E->getFoundDecl().getDecl(), E->getMemberNameInfo().getName(), in VisitMemberExpr() 7050 DeclAccessPair::make(ToDecl, E->getFoundDecl().getAccess()); in VisitMemberExpr()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| H A D | CallEvent.cpp | 1160 if (!InstRecIg || !InstRecIg->getFoundDecl() || in isCallToSelfClass() 1161 !InstRecIg->getFoundDecl()->getName().equals("self")) in isCallToSelfClass()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/ |
| H A D | ASTWriterStmt.cpp | 451 Record.push_back(E->getDecl() != E->getFoundDecl()); in VisitDeclRefExpr() 464 (E->getDecl() == E->getFoundDecl()) && in VisitDeclRefExpr() 472 if (E->getDecl() != E->getFoundDecl()) in VisitDeclRefExpr() 473 Record.AddDeclRef(E->getFoundDecl()); in VisitDeclRefExpr() 678 DeclAccessPair FoundDecl = E->getFoundDecl(); in VisitMemberExpr()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | Expr.h | 1151 NamedDecl *getFoundDecl() { in getFoundDecl() function 1157 const NamedDecl *getFoundDecl() const { in getFoundDecl() function 2782 DeclAccessPair getFoundDecl() const { in getFoundDecl() function
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 3313 const NamedDecl *FoundDecl = Node.getFoundDecl(); in AST_MATCHER_P()
|