| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | MoveConstArgCheck.cpp | 176 ? ReceivingCallExpr->getDirectCallee()->getUnderlyingDecl() in check() 177 : ReceivingConstructExpr->getConstructor()->getUnderlyingDecl(); in check()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaLookup.cpp | 334 isa<FunctionTemplateDecl>((*begin())->getUnderlyingDecl()))); in checkDebugAssumptions() 375 auto *DUnderlying = D->getUnderlyingDecl(); in isPreferredLookupResult() 376 auto *EUnderlying = Existing->getUnderlyingDecl(); in isPreferredLookupResult() 473 D = D->getUnderlyingDecl(); in canHideTag() 493 NamedDecl *D = (*Decls.begin())->getUnderlyingDecl(); in resolveKind() 518 NamedDecl *D = Decls[I]->getUnderlyingDecl(); in resolveKind() 609 if (isa<TagDecl>(Decls[UniqueTagIndex]->getUnderlyingDecl()) && in resolveKind() 2559 return ND->getUnderlyingDecl()->getCanonicalDecl(); in LookupQualifiedName() 4028 if (D->getUnderlyingDecl()->isFunctionOrFunctionTemplate() && in checkHidden() 4029 ND->getUnderlyingDecl()->isFunctionOrFunctionTemplate() && in checkHidden() [all …]
|
| H A D | SemaExprCXX.cpp | 188 auto *Type = dyn_cast<TypeDecl>(D->getUnderlyingDecl()); in getDestructorName() 225 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in getDestructorName() 411 return isa<TypeDecl>(A->getUnderlyingDecl()) > in getDestructorName() 412 isa<TypeDecl>(B->getUnderlyingDecl()); in getDestructorName() 451 if (auto *TD = dyn_cast<TypeDecl>(FoundD->getUnderlyingDecl())) in getDestructorName() 2473 NamedDecl *D = (*Alloc)->getUnderlyingDecl(); in resolveAllocationOverload() 2826 Fn = cast<FunctionDecl>((*D)->getUnderlyingDecl()); in FindAllocationFunctions() 3239 Diag(D->getUnderlyingDecl()->getLocation(), in FindDeallocationFunction() 3755 NamedDecl *D = (*FnOvl)->getUnderlyingDecl(); in resolveBuiltinNewDeleteOverload() 5191 if (isa<FunctionTemplateDecl>(ND->getUnderlyingDecl())) in EvaluateUnaryTypeTrait() [all …]
|
| H A D | SemaCXXScopeSpec.cpp | 333 SD = SD->getUnderlyingDecl(); in isAcceptableNestedNameSpecifier() 738 Context.getTypeDeclType(cast<TypeDecl>(SD->getUnderlyingDecl())); in BuildCXXNestedNameSpecifier()
|
| H A D | SemaTemplate.cpp | 103 D = D->getUnderlyingDecl(); in getAsTemplateNameDecl() 166 isa<FunctionDecl>((*I)->getUnderlyingDecl())) in hasAnyAcceptableTemplateNames() 494 return isa<FunctionDecl>(ND->getUnderlyingDecl()); in LookupTemplateName() 559 Diag(ExampleLookupResult->getUnderlyingDecl()->getLocation(), in LookupTemplateName() 1798 PrevDecl = (*Previous.begin())->getUnderlyingDecl(); in CheckClassTemplate() 1861 PrevDecl = (*Previous.begin())->getUnderlyingDecl(); in CheckClassTemplate() 2510 D = D->getUnderlyingDecl(); in DeclareImplicitDeductionGuides() 9005 NamedDecl *D = F.next()->getUnderlyingDecl(); in CheckDependentFunctionTemplateSpecialization() 9073 NamedDecl *Ovl = (*I)->getUnderlyingDecl(); in CheckFunctionTemplateSpecialization() 9156 if (auto *OldFD = dyn_cast<FunctionDecl>(OldND->getUnderlyingDecl())) in CheckFunctionTemplateSpecialization() [all …]
|
| H A D | SemaOverload.cpp | 5958 cast<CXXConversionDecl>(ViableConversions[I]->getUnderlyingDecl()); in diagnoseAmbiguousConversion() 5973 cast<CXXConversionDecl>(Found->getUnderlyingDecl()); in diagnoseNoViableConversion() 6012 cast<CXXConversionDecl>(Found->getUnderlyingDecl()); in recordConversion() 6157 NamedDecl *D = (*I)->getUnderlyingDecl(); in PerformContextualImplicitConversion() 6832 NamedDecl *D = F.getDecl()->getUnderlyingDecl(); in AddFunctionCandidates() 7706 NamedDecl *D = F.getDecl()->getUnderlyingDecl(); in AddNonMemberOperatorCandidates() 12279 NamedDecl *Fn = (*I)->getUnderlyingDecl(); in FindAllFunctionsThatMatchTargetTypeExactly() 12372 dyn_cast<FunctionDecl>((*I)->getUnderlyingDecl())) in ComplainNoMatchesFound() 12522 auto *FD = dyn_cast<FunctionDecl>(I->getUnderlyingDecl()); in resolveAddressOfSingleOverloadCandidate() 12635 = cast<FunctionTemplateDecl>((*I)->getUnderlyingDecl()); in ResolveSingleFunctionTemplateSpecialization() [all …]
|
| H A D | SemaExprMember.cpp | 106 D = D->getUnderlyingDecl(); in ClassifyImplicitMemberAccess() 206 Rep = Rep->getUnderlyingDecl(); in diagnoseInstanceReference()
|
| H A D | SemaModule.cpp | 861 NamedDecl *Target = USD->getUnderlyingDecl(); in checkExportedDecl()
|
| H A D | SemaCodeComplete.cpp | 766 ND = ND->getUnderlyingDecl(); in isInterestingDecl() 912 ND = ND->getUnderlyingDecl(); in getDeclUsageType() 1404 ND = ND->getUnderlyingDecl(); in IsOrdinaryName() 1422 ND = ND->getUnderlyingDecl(); in IsOrdinaryNonTypeName() 1448 if (const auto *VD = dyn_cast<ValueDecl>(ND->getUnderlyingDecl())) in IsIntegralConstantValue() 1458 ND = ND->getUnderlyingDecl(); in IsOrdinaryNonValueName() 1517 return isa<NamespaceDecl>(ND->getUnderlyingDecl()); in IsNamespaceOrAlias() 1522 ND = ND->getUnderlyingDecl(); in IsType() 1530 ND = ND->getUnderlyingDecl(); in IsMember()
|
| H A D | Sema.cpp | 2424 = dyn_cast<FunctionDecl>((*it)->getUnderlyingDecl())) { in tryExprAsCall() 2509 NamedDecl *Fn = (*It)->getUnderlyingDecl(); in noteOverloads()
|
| H A D | SemaAccess.cpp | 1313 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug()
|
| H A D | SemaTemplateDeduction.cpp | 199 X = NX->getUnderlyingDecl(); in isSameDeclaration() 201 Y = NY->getUnderlyingDecl(); in isSameDeclaration() 3660 NamedDecl *D = (*I)->getUnderlyingDecl(); in ResolveOverloadForDeduction()
|
| H A D | SemaPseudoObject.cpp | 1085 dyn_cast<CXXConversionDecl>(D->getUnderlyingDecl())) { in CheckSubscriptingKind()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Lookup.h | 546 return (*begin())->getUnderlyingDecl(); in getFoundDecl() 739 if (isa<UnresolvedUsingValueDecl>((*I)->getUnderlyingDecl())) in checkUnresolved()
|
| H A D | TypoCorrection.h | 153 return D ? D->getUnderlyingDecl() : nullptr; in getCorrectionDecl()
|
| H A D | Overload.h | 1200 auto *D = ND->getUnderlyingDecl(); in getConstructorInfo()
|
| /llvm-project-15.0.7/clang/lib/Index/ |
| H A D | IndexDecl.cpp | 617 if (isa<UnresolvedUsingIfExistsDecl>(I->getUnderlyingDecl())) in VisitUsingDecl() 620 IndexCtx.handleReference(I->getUnderlyingDecl(), D->getLocation(), Parent, in VisitUsingDecl()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | FindTarget.cpp | 189 add(S->getUnderlyingDecl(), Flags); in add() 195 add(NAD->getUnderlyingDecl(), Flags | Rel::Underlying); in add()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | MacroToEnumCheck.cpp | 552 TemplateFn->getUnderlyingDecl()->getBodyRBrace()}; in check()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | ASTNodeTraverser.h | 636 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in VisitUsingShadowDecl()
|
| H A D | Decl.h | 457 NamedDecl *getUnderlyingDecl() { in getUnderlyingDecl() function 467 const NamedDecl *getUnderlyingDecl() const { in getUnderlyingDecl() function 468 return const_cast<NamedDecl*>(this)->getUnderlyingDecl(); in getUnderlyingDecl()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | ASTUnit.cpp | 293 ND = ND->getUnderlyingDecl(); in getDeclShowContexts() 2006 = Results[I].Declaration->getUnderlyingDecl()->getIdentifierNamespace(); in CalculateHiddenNames()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 713 DUnderlying = ND->getUnderlyingDecl(); in addedMember() 1636 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
|
| H A D | ExprCXX.cpp | 1452 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
|
| H A D | TypePrinter.cpp | 1083 printTypeSpec(T->getFoundDecl()->getUnderlyingDecl(), OS); in printUsingBefore()
|