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

1234

/external/clang/lib/AST/
H A DCXXInheritance.cpp84 if (getCanonicalDecl() == Base->getCanonicalDecl())
89 const CXXRecordDecl *BaseDecl = Base->getCanonicalDecl();
105 if (getCanonicalDecl() == Base->getCanonicalDecl())
110 const CXXRecordDecl *BaseDecl = Base->getCanonicalDecl();
120 const CXXRecordDecl *TargetDecl = Base->getCanonicalDecl();
122 return Base->getCanonicalDecl() != TargetDecl;
359 assert(BaseRecord->getCanonicalDecl() == BaseRecord &&
362 ->getCanonicalDecl()
[all...]
H A DMicrosoftCXXABI.cpp120 TD = TD->getCanonicalDecl();
121 DD = cast<TypedefNameDecl>(DD->getCanonicalDecl());
129 const_cast<TagDecl *>(TD->getCanonicalDecl()));
134 TD = TD->getCanonicalDecl();
135 DD = cast<DeclaratorDecl>(DD->getCanonicalDecl());
143 const_cast<TagDecl *>(TD->getCanonicalDecl()));
H A DDecl.cpp628 if (Function->getCanonicalDecl()->getStorageClass() == SC_Static)
1141 if (Function->getCanonicalDecl()->getStorageClass() == SC_Static)
1566 if (getCanonicalDecl() != OldD->getCanonicalDecl())
1908 VarDecl *VarDecl::getCanonicalDecl() { return getFirstDecl(); } function in class:VarDecl
1927 !(getCanonicalDecl()->isInline() &&
1928 getCanonicalDecl()->isConstexpr()) &&
2483 Definition = I->IsDeleted ? I->getCanonicalDecl() : I;
2639 if (getCanonicalDecl()->getStorageClass() == SC_Static)
2676 FunctionDecl *FunctionDecl::getCanonicalDecl() { retur function in class:FunctionDecl
3532 TagDecl *TagDecl::getCanonicalDecl() { return getFirstDecl(); } function in class:TagDecl
[all...]
H A DASTDiagnostic.cpp1129 FromDecl->getCanonicalDecl() == ToDecl->getCanonicalDecl());
1262 FromValueDecl->getCanonicalDecl() == ToValueDecl->getCanonicalDecl();
1334 return FromTST->getTemplateName().getAsTemplateDecl()->getCanonicalDecl() ==
1335 ToTST->getTemplateName().getAsTemplateDecl()->getCanonicalDecl();
/external/clang/lib/StaticAnalyzer/Checkers/
H A DDirectIvarAssignment.cpp150 MethodCrawler MC(IvarToPropMap, M->getCanonicalDecl(), InterD, BR, this,
193 if (SetterMethod && SetterMethod->getCanonicalDecl() == MD)
196 if (GetterMethod && GetterMethod->getCanonicalDecl() == MD)
H A DIvarInvalidationChecker.cpp252 cast<ObjCMethodDecl>(MDI->getCanonicalDecl()));
291 const ObjCIvarDecl *I = cast<ObjCIvarDecl>(Iv->getCanonicalDecl());
398 PD = cast<ObjCPropertyDecl>(PD->getCanonicalDecl());
405 SetterD = cast<ObjCMethodDecl>(SetterD->getCanonicalDecl());
411 GetterD = cast<ObjCMethodDecl>(GetterD->getCanonicalDecl());
602 markInvalidated(cast<ObjCIvarDecl>(D->getCanonicalDecl()));
609 MD = cast<ObjCMethodDecl>(MD->getCanonicalDecl());
622 PD = cast<ObjCPropertyDecl>(PD->getCanonicalDecl());
633 MD = cast<ObjCMethodDecl>(MD->getCanonicalDecl());
705 MD = cast<ObjCMethodDecl>(MD->getCanonicalDecl());
[all...]
H A DNoReturnFunctionChecker.cpp92 MD = MD->getCanonicalDecl();
/external/clang/include/clang/AST/
H A DGlobalDecl.h54 GlobalDecl getCanonicalDecl() const { function in class:clang::GlobalDecl
56 CanonGD.Value.setPointer(Value.getPointer()->getCanonicalDecl());
H A DDeclCXX.h654 CXXRecordDecl *getCanonicalDecl() override {
655 return cast<CXXRecordDecl>(RecordDecl::getCanonicalDecl());
657 const CXXRecordDecl *getCanonicalDecl() const { function in class:clang::CXXRecordDecl
658 return const_cast<CXXRecordDecl*>(this)->getCanonicalDecl();
1782 cast<CXXMethodDecl>(const_cast<CXXMethodDecl*>(this)->getCanonicalDecl());
1804 CXXMethodDecl *getCanonicalDecl() override {
1805 return cast<CXXMethodDecl>(FunctionDecl::getCanonicalDecl());
1807 const CXXMethodDecl *getCanonicalDecl() const { function in class:clang::CXXMethodDecl
1808 return const_cast<CXXMethodDecl*>(this)->getCanonicalDecl();
1822 return !(isDeleted() || getCanonicalDecl()
2391 const CXXConstructorDecl *getCanonicalDecl() const { function in class:clang::final
2774 const NamespaceAliasDecl *getCanonicalDecl() const { function in class:clang::NamespaceAliasDecl
2883 const UsingShadowDecl *getCanonicalDecl() const { function in class:clang::UsingShadowDecl
3165 const UsingDecl *getCanonicalDecl() const { return getFirstDecl(); } function in class:clang::UsingDecl
3246 const UnresolvedUsingValueDecl *getCanonicalDecl() const { function in class:clang::UnresolvedUsingValueDecl
3318 const UnresolvedUsingTypenameDecl *getCanonicalDecl() const { function in class:clang::UnresolvedUsingTypenameDecl
[all...]
H A DDecl.h557 NamespaceDecl *getCanonicalDecl() override {
560 const NamespaceDecl *getCanonicalDecl() const { function in class:clang::NamespaceDecl
1063 VarDecl *getCanonicalDecl() override;
1064 const VarDecl *getCanonicalDecl() const {
1065 return const_cast<VarDecl*>(this)->getCanonicalDecl();
1909 bool isDeleted() const { return getCanonicalDecl()->IsDeleted; }
1981 FunctionDecl *getCanonicalDecl() override;
1982 const FunctionDecl *getCanonicalDecl() const {
1983 return const_cast<FunctionDecl*>(this)->getCanonicalDecl();
2466 FieldDecl *getCanonicalDecl() overrid
[all...]
H A DDeclTemplate.h723 RedeclarableTemplateDecl *getCanonicalDecl() override {
726 const RedeclarableTemplateDecl *getCanonicalDecl() const { function in class:clang::final
914 FunctionTemplateDecl *getCanonicalDecl() override {
916 RedeclarableTemplateDecl::getCanonicalDecl());
918 const FunctionTemplateDecl *getCanonicalDecl() const { function in class:clang::FunctionTemplateDecl
920 RedeclarableTemplateDecl::getCanonicalDecl());
2019 ClassTemplateDecl *getCanonicalDecl() override {
2021 RedeclarableTemplateDecl::getCanonicalDecl());
2023 const ClassTemplateDecl *getCanonicalDecl() const { function in class:clang::ClassTemplateDecl
2025 RedeclarableTemplateDecl::getCanonicalDecl());
2252 const TypeAliasTemplateDecl *getCanonicalDecl() const { function in class:clang::TypeAliasTemplateDecl
2833 const VarTemplateDecl *getCanonicalDecl() const { function in class:clang::VarTemplateDecl
[all...]
H A DDeclBase.h530 void setIsUsed() { getCanonicalDecl()->Used = true; }
762 virtual Decl *getCanonicalDecl() { return this; } function
763 const Decl *getCanonicalDecl() const { function
764 return const_cast<Decl*>(this)->getCanonicalDecl();
768 bool isCanonicalDecl() const { return getCanonicalDecl() == this; }
1046 return D1->getCanonicalDecl() == D2->getCanonicalDecl();
/external/clang/lib/CodeGen/
H A DCGRecordLayout.h186 FD = FD->getCanonicalDecl();
205 FD = FD->getCanonicalDecl();
H A DCGCXX.cpp269 GD = GD.getCanonicalDecl();
H A DModuleBuilder.cpp103 const Decl *D = Result.getCanonicalDecl().getDecl();
/external/clang/lib/Index/
H A DIndexingContext.cpp220 static const Decl *getCanonicalDecl(const Decl *D) { function
221 D = D->getCanonicalDecl();
292 D = getCanonicalDecl(D);
300 Parent = getCanonicalDecl(Parent);
328 Rel.RelatedSymbol->getCanonicalDecl()));
/external/clang/lib/Sema/
H A DSemaAccess.cpp108 Records.push_back(Record->getCanonicalDecl());
112 Functions.push_back(Function->getCanonicalDecl());
128 R = R->getCanonicalDecl();
217 InstanceContext = (IC ? cast<CXXRecordDecl>(IC)->getCanonicalDecl()
232 return namingClass->getCanonicalDecl();
247 DeclaringClass = DeclaringClass->getCanonicalDecl();
281 assert(Derived->getCanonicalDecl() == Derived);
282 assert(Target->getCanonicalDecl() == Target);
313 RD = RD->getCanonicalDecl();
464 if (Friend == CTD->getCanonicalDecl())
[all...]
H A DIdentifierResolver.cpp268 if (Existing->getCanonicalDecl() == New->getCanonicalDecl()) {
H A DSemaExprMember.cpp36 return !Bases.count(Base->getCanonicalDecl());
114 Classes.insert(R->getCanonicalDecl());
164 contextClass = MD->getParent()->getCanonicalDecl();
175 contextClass->getCanonicalDecl() !=
176 R.getNamingClass()->getCanonicalDecl()) {
181 Classes.insert(R.getNamingClass()->getCanonicalDecl());
553 CXXRecordDecl *MemberRecord = cast<CXXRecordDecl>(DC)->getCanonicalDecl();
554 if (BaseRecord->getCanonicalDecl() == MemberRecord ||
/external/clang/lib/Serialization/
H A DASTReaderDecl.cpp455 D->getCanonicalDecl()->Used |= IsDeclMarkedUsed;
692 EnumDecl *&OldDef = Reader.EnumDefinitions[ED->getCanonicalDecl()];
696 for (auto *D : merged_redecls(ED->getCanonicalDecl())) {
843 // use getCanonicalDecl on Template since it may still be initializing.
994 ID->getCanonicalDecl()->Data = ID->Data;
1035 ID->Data = ID->getCanonicalDecl()->Data;
1059 PD->getCanonicalDecl()->Data = PD->Data;
1076 PD->Data = PD->getCanonicalDecl()->Data;
1680 CXXRecordDecl *Canon = D->getCanonicalDecl();
1747 D->DefinitionData = D->getCanonicalDecl()
[all...]
/external/clang/lib/Analysis/
H A DBodyFarm.cpp353 D = D->getCanonicalDecl();
489 D = D->getCanonicalDecl();
H A DCallGraph.cpp150 F = F->getCanonicalDecl();
H A DThreadSafetyCommon.cpp268 const ValueDecl *VD = cast<ValueDecl>(DRE->getDecl()->getCanonicalDecl());
273 cast<FunctionDecl>(PV->getDeclContext())->getCanonicalDecl();
276 if (Ctx && Ctx->FunArgs && FD == Ctx->AttrDecl->getCanonicalDecl()) {
324 D = D->getCanonicalDecl();
340 cast<ValueDecl>(ME->getMemberDecl()->getCanonicalDecl());
/external/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp232 return Expected->getCanonicalDecl() == RD->getCanonicalDecl();
/external/clang/tools/libclang/
H A DCIndexHigh.cpp35 Methods.push_back(D->getCanonicalDecl());
83 D = D->getCanonicalDecl();

Completed in 550 milliseconds

1234