Searched refs:getCanonicalDecl (Results 1 - 25 of 102) sorted by relevance

12345

/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DCXXInheritance.cpp99 if (getCanonicalDecl() == Base->getCanonicalDecl())
104 const CXXRecordDecl *BaseDecl = Base->getCanonicalDecl();
119 if (getCanonicalDecl() == Base->getCanonicalDecl())
124 const CXXRecordDecl *BaseDecl = Base->getCanonicalDecl();
133 const CXXRecordDecl *TargetDecl = Base->getCanonicalDecl();
135 return Base->getCanonicalDecl() != TargetDecl;
389 assert(BaseRecord->getCanonicalDecl() == BaseRecord &&
392 ->getCanonicalDecl()
[all...]
H A DMicrosoftCXXABI.cpp108 TD = TD->getCanonicalDecl();
109 DD = DD->getCanonicalDecl();
117 const_cast<TagDecl *>(TD->getCanonicalDecl()));
122 TD = TD->getCanonicalDecl();
123 DD = cast<DeclaratorDecl>(DD->getCanonicalDecl());
131 const_cast<TagDecl *>(TD->getCanonicalDecl()));
H A DComparisonCategories.cpp81 DeclContextLookupResult Lookup = Record->getCanonicalDecl()->lookup(
133 const auto *CanonRD = RD->getCanonicalDecl();
136 if (CanonRD == Info.Record->getCanonicalDecl())
H A DDecl.cpp608 cast<NamedDecl>(D->getCanonicalDecl())))
638 if (getStorageClass(D->getCanonicalDecl()) == SC_Static) {
1232 if (Function->getCanonicalDecl()->getStorageClass() == SC_Static)
1727 if (getCanonicalDecl() != OldD->getCanonicalDecl())
2075 VarDecl *VarDecl::getCanonicalDecl() { return getFirstDecl(); } function in class:VarDecl
2097 !(getCanonicalDecl()->isInline() &&
2098 getCanonicalDecl()->isConstexpr()) &&
3084 if (getCanonicalDecl()->getStorageClass() == SC_Static)
3149 FunctionDecl *FunctionDecl::getCanonicalDecl() { retur function in class:FunctionDecl
[all...]
H A DDeclCXX.cpp587 RD = RD->getCanonicalDecl();
600 Base = Base->getCanonicalDecl();
1588 HiddenVBaseCs.insert(cast<NamedDecl>(I.getDecl()->getCanonicalDecl()));
1658 if (!HiddenVBaseCs.count(cast<NamedDecl>(I.getDecl()->getCanonicalDecl())))
2034 const CXXMethodDecl *MD = getCanonicalDecl();
2046 if (MD->getCanonicalDecl() == BaseMD->getCanonicalDecl())
2057 if (this->getParent()->getCanonicalDecl() == RD->getCanonicalDecl())
H A DASTDiagnostic.cpp1169 FromDecl->getCanonicalDecl() == ToDecl->getCanonicalDecl());
1302 FromValueDecl->getCanonicalDecl() == ToValueDecl->getCanonicalDecl();
1374 return FromTST->getTemplateName().getAsTemplateDecl()->getCanonicalDecl() ==
1375 ToTST->getTemplateName().getAsTemplateDecl()->getCanonicalDecl();
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDirectIvarAssignment.cpp151 MethodCrawler MC(IvarToPropMap, M->getCanonicalDecl(), InterD, BR, this,
194 if (SetterMethod && SetterMethod->getCanonicalDecl() == MD)
197 if (GetterMethod && GetterMethod->getCanonicalDecl() == MD)
H A DIvarInvalidationChecker.cpp251 cast<ObjCMethodDecl>(MDI->getCanonicalDecl()));
290 const ObjCIvarDecl *I = cast<ObjCIvarDecl>(Iv->getCanonicalDecl());
397 PD = cast<ObjCPropertyDecl>(PD->getCanonicalDecl());
404 SetterD = SetterD->getCanonicalDecl();
410 GetterD = GetterD->getCanonicalDecl();
601 markInvalidated(cast<ObjCIvarDecl>(D->getCanonicalDecl()));
608 MD = MD->getCanonicalDecl();
621 PD = cast<ObjCPropertyDecl>(PD->getCanonicalDecl());
632 MD = MD->getCanonicalDecl();
704 MD = MD->getCanonicalDecl();
[all...]
H A DNoReturnFunctionChecker.cpp91 MD = MD->getCanonicalDecl();
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayout.h185 FD = FD->getCanonicalDecl();
204 FD = FD->getCanonicalDecl();
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h493 CXXRecordDecl *getCanonicalDecl() override {
494 return cast<CXXRecordDecl>(RecordDecl::getCanonicalDecl());
497 const CXXRecordDecl *getCanonicalDecl() const { function in class:clang::CXXRecordDecl
498 return const_cast<CXXRecordDecl*>(this)->getCanonicalDecl();
2006 CXXMethodDecl *CD = const_cast<CXXMethodDecl*>(this)->getCanonicalDecl();
2046 CXXMethodDecl *getCanonicalDecl() override {
2047 return cast<CXXMethodDecl>(FunctionDecl::getCanonicalDecl());
2049 const CXXMethodDecl *getCanonicalDecl() const { function in class:clang::CXXMethodDecl
2050 return const_cast<CXXMethodDecl*>(this)->getCanonicalDecl();
2481 *getCanonicalDecl()
2660 const CXXConstructorDecl *getCanonicalDecl() const { function in class:clang::final
2724 const CXXDestructorDecl *getCanonicalDecl() const { function in class:clang::CXXDestructorDecl
2792 const CXXConversionDecl *getCanonicalDecl() const { function in class:clang::CXXConversionDecl
3054 const NamespaceAliasDecl *getCanonicalDecl() const { function in class:clang::NamespaceAliasDecl
3247 const UsingShadowDecl *getCanonicalDecl() const { function in class:clang::UsingShadowDecl
3529 const UsingDecl *getCanonicalDecl() const { return getFirstDecl(); } function in class:clang::UsingDecl
3600 const UsingPackDecl *getCanonicalDecl() const { return getFirstDecl(); } function in class:clang::final
3694 const UnresolvedUsingValueDecl *getCanonicalDecl() const { function in class:clang::UnresolvedUsingValueDecl
3783 const UnresolvedUsingTypenameDecl *getCanonicalDecl() const { function in class:clang::UnresolvedUsingTypenameDecl
[all...]
H A DGlobalDecl.h92 GlobalDecl getCanonicalDecl() const { function in class:clang::GlobalDecl
94 CanonGD.Value.setPointer(Value.getPointer()->getCanonicalDecl());
H A DDeclTemplate.h863 RedeclarableTemplateDecl *getCanonicalDecl() override {
866 const RedeclarableTemplateDecl *getCanonicalDecl() const { function in class:clang::final
1047 FunctionTemplateDecl *getCanonicalDecl() override {
1049 RedeclarableTemplateDecl::getCanonicalDecl());
1051 const FunctionTemplateDecl *getCanonicalDecl() const { function in class:clang::FunctionTemplateDecl
1053 RedeclarableTemplateDecl::getCanonicalDecl());
2323 ClassTemplateDecl *getCanonicalDecl() override {
2325 RedeclarableTemplateDecl::getCanonicalDecl());
2327 const ClassTemplateDecl *getCanonicalDecl() const { function in class:clang::ClassTemplateDecl
2329 RedeclarableTemplateDecl::getCanonicalDecl());
2549 const TypeAliasTemplateDecl *getCanonicalDecl() const { function in class:clang::TypeAliasTemplateDecl
3156 const VarTemplateDecl *getCanonicalDecl() const { function in class:clang::VarTemplateDecl
[all...]
H A DDecl.h589 NamespaceDecl *getCanonicalDecl() override {
592 const NamespaceDecl *getCanonicalDecl() const { function in class:clang::NamespaceDecl
1149 VarDecl *getCanonicalDecl() override;
1150 const VarDecl *getCanonicalDecl() const {
1151 return const_cast<VarDecl*>(this)->getCanonicalDecl();
2150 DeclAsWritten->getCanonicalDecl()->isDefaulted());
2258 return getCanonicalDecl()->FunctionDeclBits.IsDeleted;
2355 return getCanonicalDecl()->FunctionDeclBits.IsMultiVersion;
2361 getCanonicalDecl()->FunctionDeclBits.IsMultiVersion = V;
2394 FunctionDecl *getCanonicalDecl() overrid
[all...]
H A DDeclBase.h578 void setIsUsed() { getCanonicalDecl()->Used = true; }
901 virtual Decl *getCanonicalDecl() { return this; } function
902 const Decl *getCanonicalDecl() const { function
903 return const_cast<Decl*>(this)->getCanonicalDecl();
907 bool isCanonicalDecl() const { return getCanonicalDecl() == this; }
1205 return D1->getCanonicalDecl() == D2->getCanonicalDecl();
/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/
H A DIndexingContext.cpp301 static const Decl *getCanonicalDecl(const Decl *D) { function
302 D = D->getCanonicalDecl();
414 D = getCanonicalDecl(D);
417 Parent = getCanonicalDecl(Parent);
450 Rel.RelatedSymbol->getCanonicalDecl()));
H A DIndexBody.cpp248 Getter->getCanonicalDecl()->findPropertyDecl())
302 if (const auto *PD = Getter->getCanonicalDecl()->findPropertyDecl()) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaAccess.cpp108 Records.push_back(Record->getCanonicalDecl());
112 Functions.push_back(Function->getCanonicalDecl());
128 R = R->getCanonicalDecl();
216 InstanceContext = (IC ? cast<CXXRecordDecl>(IC)->getCanonicalDecl()
231 return namingClass->getCanonicalDecl();
246 DeclaringClass = DeclaringClass->getCanonicalDecl();
280 assert(Derived->getCanonicalDecl() == Derived);
281 assert(Target->getCanonicalDecl() == Target);
312 RD = RD->getCanonicalDecl();
463 if (Friend == CTD->getCanonicalDecl())
[all...]
H A DIdentifierResolver.cpp272 if (Existing->getCanonicalDecl() == New->getCanonicalDecl()) {
H A DSemaExprMember.cpp35 return !Bases.count(Base->getCanonicalDecl());
113 Classes.insert(R->getCanonicalDecl());
164 contextClass = MD->getParent()->getCanonicalDecl();
175 contextClass->getCanonicalDecl() !=
176 R.getNamingClass()->getCanonicalDecl()) {
181 Classes.insert(R.getNamingClass()->getCanonicalDecl());
576 CXXRecordDecl *MemberRecord = cast<CXXRecordDecl>(DC)->getCanonicalDecl();
577 if (BaseRecord->getCanonicalDecl() == MemberRecord ||
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp527 D->getCanonicalDecl()->Used |= IsDeclMarkedUsed;
758 EnumDecl *&OldDef = Reader.EnumDefinitions[ED->getCanonicalDecl()];
762 for (auto *D : merged_redecls(ED->getCanonicalDecl())) {
970 // use getCanonicalDecl on Template since it may still be initializing.
1156 ObjCInterfaceDecl *Canon = ID->getCanonicalDecl();
1165 ID->getCanonicalDecl()->Data = ID->Data;
1177 ID->Data = ID->getCanonicalDecl()->Data;
1221 ObjCProtocolDecl *Canon = PD->getCanonicalDecl();
1230 PD->getCanonicalDecl()->Data = PD->Data;
1235 PD->Data = PD->getCanonicalDecl()
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp274 const auto *VD = cast<ValueDecl>(DRE->getDecl()->getCanonicalDecl());
281 const Decl *Canonical = Ctx->AttrDecl->getCanonicalDecl();
283 ? (cast<FunctionDecl>(D)->getCanonicalDecl() == Canonical)
284 : (cast<ObjCMethodDecl>(D)->getCanonicalDecl() == Canonical)) {
293 ? cast<FunctionDecl>(D)->getCanonicalDecl()->getParamDecl(I)
294 : cast<ObjCMethodDecl>(D)->getCanonicalDecl()->getParamDecl(I);
335 D = D->getCanonicalDecl();
350 const auto *D = cast<ValueDecl>(ME->getMemberDecl()->getCanonicalDecl());
365 const auto *D = cast<ObjCIvarDecl>(IVRE->getDecl()->getCanonicalDecl());
H A DCallGraph.cpp205 F = F->getCanonicalDecl();
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp184 if (D->getCanonicalDecl() == VD)
238 return !isPossiblyEscaped(CounterVar->getCanonicalDecl(), Pred);
H A DStore.cpp246 return Expected->getCanonicalDecl() == RD->getCanonicalDecl();

Completed in 311 milliseconds

12345