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

12345

/freebsd-11-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;
399 assert(BaseRecord->getCanonicalDecl() == BaseRecord &&
402 ->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.cpp80 DeclContextLookupResult Lookup = Record->getCanonicalDecl()->lookup(
132 const auto *CanonRD = RD->getCanonicalDecl();
135 if (CanonRD == Info.Record->getCanonicalDecl())
H A DDecl.cpp608 cast<NamedDecl>(D->getCanonicalDecl())))
638 if (getStorageClass(D->getCanonicalDecl()) == SC_Static) {
1228 if (Function->getCanonicalDecl()->getStorageClass() == SC_Static)
1740 if (getCanonicalDecl() != OldD->getCanonicalDecl())
2088 VarDecl *VarDecl::getCanonicalDecl() { return getFirstDecl(); } function in class:VarDecl
2110 !(getCanonicalDecl()->isInline() &&
2111 getCanonicalDecl()->isConstexpr()) &&
3093 if (getCanonicalDecl()->getStorageClass() == SC_Static)
3158 FunctionDecl *FunctionDecl::getCanonicalDecl() { retur function in class:FunctionDecl
4143 TagDecl *TagDecl::getCanonicalDecl() { return getFirstDecl(); } function in class:TagDecl
[all...]
H A DDeclCXX.cpp584 RD = RD->getCanonicalDecl();
597 Base = Base->getCanonicalDecl();
1550 HiddenVBaseCs.insert(cast<NamedDecl>(I.getDecl()->getCanonicalDecl()));
1620 if (!HiddenVBaseCs.count(cast<NamedDecl>(I.getDecl()->getCanonicalDecl())))
1984 const CXXMethodDecl *MD = getCanonicalDecl();
1996 if (MD->getCanonicalDecl() == BaseMD->getCanonicalDecl())
2007 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-11-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-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayout.h185 FD = FD->getCanonicalDecl();
204 FD = FD->getCanonicalDecl();
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h492 CXXRecordDecl *getCanonicalDecl() override {
493 return cast<CXXRecordDecl>(RecordDecl::getCanonicalDecl());
496 const CXXRecordDecl *getCanonicalDecl() const { function in class:clang::CXXRecordDecl
497 return const_cast<CXXRecordDecl*>(this)->getCanonicalDecl();
1977 CXXMethodDecl *CD = const_cast<CXXMethodDecl*>(this)->getCanonicalDecl();
2017 CXXMethodDecl *getCanonicalDecl() override {
2018 return cast<CXXMethodDecl>(FunctionDecl::getCanonicalDecl());
2020 const CXXMethodDecl *getCanonicalDecl() const { function in class:clang::CXXMethodDecl
2021 return const_cast<CXXMethodDecl*>(this)->getCanonicalDecl();
2426 *getCanonicalDecl()
2630 const CXXConstructorDecl *getCanonicalDecl() const { function in class:clang::final
2694 const CXXDestructorDecl *getCanonicalDecl() const { function in class:clang::CXXDestructorDecl
2763 const CXXConversionDecl *getCanonicalDecl() const { function in class:clang::CXXConversionDecl
3025 const NamespaceAliasDecl *getCanonicalDecl() const { function in class:clang::NamespaceAliasDecl
3218 const UsingShadowDecl *getCanonicalDecl() const { function in class:clang::UsingShadowDecl
3500 const UsingDecl *getCanonicalDecl() const { return getFirstDecl(); } function in class:clang::UsingDecl
3571 const UsingPackDecl *getCanonicalDecl() const { return getFirstDecl(); } function in class:clang::final
3665 const UnresolvedUsingValueDecl *getCanonicalDecl() const { function in class:clang::UnresolvedUsingValueDecl
3754 const UnresolvedUsingTypenameDecl *getCanonicalDecl() const { function in class:clang::UnresolvedUsingTypenameDecl
[all...]
H A DGlobalDecl.h68 GlobalDecl getCanonicalDecl() const { function in class:clang::GlobalDecl
70 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());
2315 ClassTemplateDecl *getCanonicalDecl() override {
2317 RedeclarableTemplateDecl::getCanonicalDecl());
2319 const ClassTemplateDecl *getCanonicalDecl() const { function in class:clang::ClassTemplateDecl
2321 RedeclarableTemplateDecl::getCanonicalDecl());
2541 const TypeAliasTemplateDecl *getCanonicalDecl() const { function in class:clang::TypeAliasTemplateDecl
3148 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();
2152 DeclAsWritten->getCanonicalDecl()->isDefaulted());
2260 return getCanonicalDecl()->FunctionDeclBits.IsDeleted;
2352 return getCanonicalDecl()->FunctionDeclBits.IsMultiVersion;
2358 getCanonicalDecl()->FunctionDeclBits.IsMultiVersion = V;
2391 FunctionDecl *getCanonicalDecl() overrid
[all...]
H A DDeclBase.h573 void setIsUsed() { getCanonicalDecl()->Used = true; }
878 virtual Decl *getCanonicalDecl() { return this; } function
879 const Decl *getCanonicalDecl() const { function
880 return const_cast<Decl*>(this)->getCanonicalDecl();
884 bool isCanonicalDecl() const { return getCanonicalDecl() == this; }
1174 return D1->getCanonicalDecl() == D2->getCanonicalDecl();
/freebsd-11-stable/contrib/llvm-project/clang/lib/Index/
H A DIndexingContext.cpp292 static const Decl *getCanonicalDecl(const Decl *D) { function
293 D = D->getCanonicalDecl();
405 D = getCanonicalDecl(D);
408 Parent = getCanonicalDecl(Parent);
441 Rel.RelatedSymbol->getCanonicalDecl()));
/freebsd-11-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 ||
H A DSemaTemplateInstantiateDecl.cpp1914 D->getCanonicalDecl()->getStorageClass(), D->isInlineSpecified(),
5402 Pattern = Pattern->getCanonicalDecl();
5405 Instance = Instance->getCanonicalDecl();
5415 Pattern = Pattern->getCanonicalDecl();
5418 Instance = Instance->getCanonicalDecl();
5430 = cast<ClassTemplatePartialSpecializationDecl>(Pattern->getCanonicalDecl());
5433 Instance->getCanonicalDecl());
5444 Pattern = Pattern->getCanonicalDecl();
5447 Instance = Instance->getCanonicalDecl();
5457 Pattern = Pattern->getCanonicalDecl();
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp522 D->getCanonicalDecl()->Used |= IsDeclMarkedUsed;
753 EnumDecl *&OldDef = Reader.EnumDefinitions[ED->getCanonicalDecl()];
757 for (auto *D : merged_redecls(ED->getCanonicalDecl())) {
965 // use getCanonicalDecl on Template since it may still be initializing.
1151 ObjCInterfaceDecl *Canon = ID->getCanonicalDecl();
1160 ID->getCanonicalDecl()->Data = ID->Data;
1172 ID->Data = ID->getCanonicalDecl()->Data;
1216 ObjCProtocolDecl *Canon = PD->getCanonicalDecl();
1225 PD->getCanonicalDecl()->Data = PD->Data;
1230 PD->Data = PD->getCanonicalDecl()
[all...]
/freebsd-11-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.cpp201 F = F->getCanonicalDecl();
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp179 if (D->getCanonicalDecl() == VD)
228 return !isPossiblyEscaped(CounterVar->getCanonicalDecl(), Pred);
H A DStore.cpp245 return Expected->getCanonicalDecl() == RD->getCanonicalDecl();

Completed in 423 milliseconds

12345