Home
last modified time | relevance | path

Searched refs:getCanonicalDecl (Results 1 – 25 of 120) sorted by relevance

12345

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DCXXInheritance.cpp75 if (getCanonicalDecl() == Base->getCanonicalDecl()) in isDerivedFrom()
80 const CXXRecordDecl *BaseDecl = Base->getCanonicalDecl(); in isDerivedFrom()
96 if (getCanonicalDecl() == Base->getCanonicalDecl()) in isVirtuallyDerivedFrom()
101 const CXXRecordDecl *BaseDecl = Base->getCanonicalDecl(); in isVirtuallyDerivedFrom()
110 const CXXRecordDecl *TargetDecl = Base->getCanonicalDecl(); in isProvablyNotDerivedFrom()
112 return Base->getCanonicalDecl() != TargetDecl; in isProvablyNotDerivedFrom()
366 assert(BaseRecord->getCanonicalDecl() == BaseRecord && in FindBaseClass()
369 ->getCanonicalDecl() == BaseRecord; in FindBaseClass()
375 assert(BaseRecord->getCanonicalDecl() == BaseRecord && in FindVirtualBaseClass()
379 ->getCanonicalDecl() == BaseRecord; in FindVirtualBaseClass()
[all …]
H A DMicrosoftCXXABI.cpp164 TD = TD->getCanonicalDecl(); in addTypedefNameForUnnamedTagDecl()
165 DD = DD->getCanonicalDecl(); in addTypedefNameForUnnamedTagDecl()
173 const_cast<TagDecl *>(TD->getCanonicalDecl())); in getTypedefNameForUnnamedTagDecl()
178 TD = TD->getCanonicalDecl(); in addDeclaratorForUnnamedTagDecl()
179 DD = cast<DeclaratorDecl>(DD->getCanonicalDecl()); in addDeclaratorForUnnamedTagDecl()
187 const_cast<TagDecl *>(TD->getCanonicalDecl())); in getDeclaratorForUnnamedTagDecl()
H A DComparisonCategories.cpp82 DeclContextLookupResult Lookup = Record->getCanonicalDecl()->lookup( in lookupValueInfo()
134 const auto *CanonRD = RD->getCanonicalDecl(); in lookupInfoForType()
137 if (CanonRD == Info.Record->getCanonicalDecl()) in lookupInfoForType()
H A DAPValue.cpp43 : Ptr(P ? cast<ValueDecl>(P->getCanonicalDecl()) : nullptr), Local{I, V} {} in LValueBase()
149 BaseOrMember.setPointer(D->getCanonicalDecl()); in LValuePathEntry()
493 ID.AddPointer(getAddrLabelDiffLHS()->getLabel()->getCanonicalDecl()); in Profile()
494 ID.AddPointer(getAddrLabelDiffRHS()->getLabel()->getCanonicalDecl()); in Profile()
1049 Field ? Field->getCanonicalDecl() : nullptr; in setUnion()
1098 Member ? cast<ValueDecl>(Member->getCanonicalDecl()) : nullptr); in setMemberPointerUninit()
1109 InternalPath[I] = Path[I]->getCanonicalDecl(); in MakeMemberPointer()
H A DTemplateName.cpp286 ID.AddPointer(USD->getCanonicalDecl()); in Profile()
288 ID.AddPointer(TD->getCanonicalDecl()); in Profile()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h523 CXXRecordDecl *getCanonicalDecl() override { in getCanonicalDecl() function
527 const CXXRecordDecl *getCanonicalDecl() const { in getCanonicalDecl() function
2149 CXXMethodDecl *getCanonicalDecl() override { in getCanonicalDecl() function
2152 const CXXMethodDecl *getCanonicalDecl() const { in getCanonicalDecl() function
2826 return getCanonicalDecl()->OperatorDelete; in getOperatorDelete()
2883 return getCanonicalDecl()->ExplicitSpec; in getExplicitSpecifier()
2887 return getCanonicalDecl()->ExplicitSpec; in getExplicitSpecifier()
3368 UsingShadowDecl *getCanonicalDecl() override { in getCanonicalDecl() function
3570 UsingDecl *getCanonicalDecl() override { in getCanonicalDecl() function
3573 const UsingDecl *getCanonicalDecl() const { in getCanonicalDecl() function
[all …]
H A DDeclTemplate.h855 RedeclarableTemplateDecl *getCanonicalDecl() override { in getCanonicalDecl() function
1038 FunctionTemplateDecl *getCanonicalDecl() override {
1042 const FunctionTemplateDecl *getCanonicalDecl() const {
2322 ClassTemplateDecl *getCanonicalDecl() override {
2326 const ClassTemplateDecl *getCanonicalDecl() const {
2544 TypeAliasTemplateDecl *getCanonicalDecl() override {
3094 VarTemplateDecl *getCanonicalDecl() override {
3097 const VarTemplateDecl *getCanonicalDecl() const {
3203 ConceptDecl *getCanonicalDecl() override {
3206 const ConceptDecl *getCanonicalDecl() const {
[all …]
H A DDecl.h674 NamespaceDecl *getCanonicalDecl() override { in getCanonicalDecl() function
677 const NamespaceDecl *getCanonicalDecl() const { in getCanonicalDecl() function
1272 VarDecl *getCanonicalDecl() override;
1273 const VarDecl *getCanonicalDecl() const { in getCanonicalDecl() function
2587 getCanonicalDecl()
2593 return getCanonicalDecl() in FriendConstraintRefersToEnclosingTemplate()
2635 FunctionDecl *getCanonicalDecl() override;
3632 TagDecl *getCanonicalDecl() override;
3633 const TagDecl *getCanonicalDecl() const { in getCanonicalDecl() function
3905 EnumDecl *getCanonicalDecl() override { in getCanonicalDecl() function
[all …]
H A DGlobalDecl.h94 GlobalDecl getCanonicalDecl() const { in getCanonicalDecl() function
96 CanonGD.Value.setPointer(Value.getPointer()->getCanonicalDecl()); in getCanonicalDecl()
H A DDeclObjC.h241 ObjCMethodDecl *getCanonicalDecl() override;
242 const ObjCMethodDecl *getCanonicalDecl() const { in getCanonicalDecl() function
243 return const_cast<ObjCMethodDecl*>(this)->getCanonicalDecl(); in getCanonicalDecl()
1910 ObjCInterfaceDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() function
1911 const ObjCInterfaceDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() function
1987 ObjCIvarDecl *getCanonicalDecl() override { in getCanonicalDecl() function
1988 return cast<ObjCIvarDecl>(FieldDecl::getCanonicalDecl()); in getCanonicalDecl()
1990 const ObjCIvarDecl *getCanonicalDecl() const { in getCanonicalDecl() function
1991 return const_cast<ObjCIvarDecl *>(this)->getCanonicalDecl(); in getCanonicalDecl()
2291 ObjCProtocolDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() function
[all …]
H A DDeclBase.h613 void setIsUsed() { getCanonicalDecl()->Used = true; } in setIsUsed()
978 virtual Decl *getCanonicalDecl() { return this; } in getCanonicalDecl() function
979 const Decl *getCanonicalDecl() const { in getCanonicalDecl() function
980 return const_cast<Decl*>(this)->getCanonicalDecl(); in getCanonicalDecl()
984 bool isCanonicalDecl() const { return getCanonicalDecl() == this; } in isCanonicalDecl()
1292 return D1->getCanonicalDecl() == D2->getCanonicalDecl(); in declaresSameEntity()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp251 cast<ObjCMethodDecl>(MDI->getCanonicalDecl())); in containsInvalidationMethod()
290 const ObjCIvarDecl *I = cast<ObjCIvarDecl>(Iv->getCanonicalDecl()); in trackIvar()
392 PD = cast<ObjCPropertyDecl>(PD->getCanonicalDecl()); in visit()
399 SetterD = SetterD->getCanonicalDecl(); in visit()
405 GetterD = GetterD->getCanonicalDecl(); in visit()
587 markInvalidated(cast<ObjCIvarDecl>(D->getCanonicalDecl())); in checkObjCIvarRefExpr()
594 MD = MD->getCanonicalDecl(); in checkObjCMessageExpr()
607 PD = cast<ObjCPropertyDecl>(PD->getCanonicalDecl()); in checkObjCPropertyRefExpr()
618 MD = MD->getCanonicalDecl(); in checkObjCPropertyRefExpr()
690 MD = MD->getCanonicalDecl(); in VisitObjCMessageExpr()
H A DDirectIvarAssignment.cpp151 MethodCrawler MC(IvarToPropMap, M->getCanonicalDecl(), InterD, BR, this, in checkASTDecl()
194 if (SetterMethod && SetterMethod->getCanonicalDecl() == MD) in VisitBinaryOperator()
197 if (GetterMethod && GetterMethod->getCanonicalDecl() == MD) in VisitBinaryOperator()
H A DNoReturnFunctionChecker.cpp93 MD = MD->getCanonicalDecl(); in checkPostObjCMessage()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaAccess.cpp122 Records.push_back(Record->getCanonicalDecl()); in EffectiveContext()
126 Functions.push_back(Function->getCanonicalDecl()); in EffectiveContext()
142 R = R->getCanonicalDecl(); in includesClass()
255 return namingClass->getCanonicalDecl(); in getEffectiveNamingClass()
270 DeclaringClass = DeclaringClass->getCanonicalDecl(); in initialize()
304 assert(Derived->getCanonicalDecl() == Derived); in IsDerivedFromInclusive()
305 assert(Target->getCanonicalDecl() == Target); in IsDerivedFromInclusive()
336 RD = RD->getCanonicalDecl(); in IsDerivedFromInclusive()
487 if (Friend == CTD->getCanonicalDecl()) in MatchesFriend()
549 FTD = FTD->getCanonicalDecl(); in MatchesFriend()
[all …]
H A DIdentifierResolver.cpp286 if (Existing->getCanonicalDecl() == New->getCanonicalDecl()) { in compareDeclarations()
H A DHLSLExternalSemaSource.cpp400 (void)HLSLNamespace->getCanonicalDecl()->decls_begin(); in InitializeSema()
515 Completions.insert(std::make_pair(Record->getCanonicalDecl(), Fn)); in onCompletion()
527 Record = Record->getCanonicalDecl(); in CompleteType()
H A DSemaExprMember.cpp35 return !Bases.count(Base->getCanonicalDecl()); in isProvablyNotDerivedFrom()
116 Classes.insert(R->getCanonicalDecl()); in ClassifyImplicitMemberAccess()
168 contextClass = MD->getParent()->getCanonicalDecl(); in ClassifyImplicitMemberAccess()
182 contextClass->getCanonicalDecl() != in ClassifyImplicitMemberAccess()
183 R.getNamingClass()->getCanonicalDecl()) { in ClassifyImplicitMemberAccess()
188 Classes.insert(R.getNamingClass()->getCanonicalDecl()); in ClassifyImplicitMemberAccess()
608 CXXRecordDecl *MemberRecord = cast<CXXRecordDecl>(DC)->getCanonicalDecl(); in CheckQualifiedMemberReference()
609 if (BaseRecord->getCanonicalDecl() == MemberRecord || in CheckQualifiedMemberReference()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayout.h198 FD = FD->getCanonicalDecl(); in getLLVMFieldNo()
223 FD = FD->getCanonicalDecl(); in getBitFieldInfo()
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp552 D->getCanonicalDecl()->Used |= IsDeclMarkedUsed; in Visit()
1314 ID->getCanonicalDecl()->Data = ID->Data; in VisitObjCInterfaceDecl()
1326 ID->Data = ID->getCanonicalDecl()->Data; in VisitObjCInterfaceDecl()
1424 PD->getCanonicalDecl()->Data = PD->Data; in VisitObjCProtocolDecl()
1429 PD->Data = PD->getCanonicalDecl()->Data; in VisitObjCProtocolDecl()
2184 CXXRecordDecl *Canon = D->getCanonicalDecl(); in ReadCXXRecordDefinition()
2824 D->First = FirstDecl->getCanonicalDecl(); in VisitRedeclarable()
2903 D->Common = D->getCanonicalDecl()->Common; in mergeRedeclarableTemplate()
2963 T *DCanon = D->getCanonicalDecl(); in mergeRedeclarable()
3270 DD = RD->getCanonicalDecl()->DefinitionData; in getOrFakePrimaryClassDefinition()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DIndexingContext.cpp296 static const Decl *getCanonicalDecl(const Decl *D) { in getCanonicalDecl() function
297 D = D->getCanonicalDecl(); in getCanonicalDecl()
409 D = getCanonicalDecl(D); in handleDeclOccurrence()
412 Parent = getCanonicalDecl(Parent); in handleDeclOccurrence()
445 Rel.RelatedSymbol->getCanonicalDecl())); in handleDeclOccurrence()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp310 const auto *VD = cast<ValueDecl>(DRE->getDecl()->getCanonicalDecl()); in translateDeclRefExpr()
317 const Decl *Canonical = Ctx->AttrDecl->getCanonicalDecl(); in translateDeclRefExpr()
319 ? (cast<FunctionDecl>(D)->getCanonicalDecl() == Canonical) in translateDeclRefExpr()
320 : (cast<ObjCMethodDecl>(D)->getCanonicalDecl() == Canonical)) { in translateDeclRefExpr()
335 ? cast<FunctionDecl>(D)->getCanonicalDecl()->getParamDecl(I) in translateDeclRefExpr()
336 : cast<ObjCMethodDecl>(D)->getCanonicalDecl()->getParamDecl(I); in translateDeclRefExpr()
381 D = D->getCanonicalDecl(); in getFirstVirtualDecl()
396 const auto *D = cast<ValueDecl>(ME->getMemberDecl()->getCanonicalDecl()); in translateMemberExpr()
411 const auto *D = cast<ObjCIvarDecl>(IVRE->getDecl()->getCanonicalDecl()); in translateObjCIVarRefExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp186 const VarDecl *VD = cast<VarDecl>(DR->getDecl()->getCanonicalDecl()); in isCapturedByReference()
199 const VarDecl *VD = cast<VarDecl>(DR->getDecl()->getCanonicalDecl()); in isPossiblyEscaped()
225 if (D->getCanonicalDecl() == VD) in isPossiblyEscaped()
/freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/
H A DCodeCompletion.cpp151 if (Fun->getParent()->getCanonicalDecl() == in handleDeclaration()
152 CCC.getBaseType()->getAsCXXRecordDecl()->getCanonicalDecl()) { in handleDeclaration()
/freebsd-14.2/contrib/llvm-project/lldb/tools/lldb-instr/
H A DInstrument.cpp93 if (Decl == Decl->getCanonicalDecl()) in ShouldSkip()

12345