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

123

/external/clang/lib/AST/
H A DCXXInheritance.cpp84 if (getCanonicalDecl() == Base->getCanonicalDecl())
89 const_cast<CXXRecordDecl*>(Base->getCanonicalDecl()),
100 if (getCanonicalDecl() == Base->getCanonicalDecl())
105 const void *BasePtr = static_cast<const void*>(Base->getCanonicalDecl());
113 return Base->getCanonicalDecl() != (const CXXRecordDecl*) OpaqueTarget;
118 const_cast<CXXRecordDecl *>(Base->getCanonicalDecl()));
369 assert(((Decl *)BaseRecord)->getCanonicalDecl() == BaseRecord &&
372 ->getCanonicalDecl()
[all...]
H A DDeclCXX.cpp1092 HiddenVBaseCs.insert(cast<NamedDecl>(I.getDecl()->getCanonicalDecl()));
1162 if (!HiddenVBaseCs.count(cast<NamedDecl>(I.getDecl()->getCanonicalDecl())))
1349 const CXXMethodDecl *MD = getCanonicalDecl();
1363 if (MD->getCanonicalDecl() == BaseMD->getCanonicalDecl())
1374 if (this->getParent()->getCanonicalDecl() == RD->getCanonicalDecl())
H A DASTDiagnostic.cpp1002 FromValueDecl->getCanonicalDecl() ==
1003 ToValueDecl->getCanonicalDecl());
1019 FromDecl->getCanonicalDecl() == ToDecl->getCanonicalDecl());
1045 return FromTST->getTemplateName().getAsTemplateDecl()->getCanonicalDecl() ==
1046 ToTST->getTemplateName().getAsTemplateDecl()->getCanonicalDecl();
/external/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.cpp254 cast<ObjCMethodDecl>(MDI->getCanonicalDecl()));
295 const ObjCIvarDecl *I = cast<ObjCIvarDecl>(Iv->getCanonicalDecl());
400 PD = cast<ObjCPropertyDecl>(PD->getCanonicalDecl());
407 SetterD = cast<ObjCMethodDecl>(SetterD->getCanonicalDecl());
413 GetterD = cast<ObjCMethodDecl>(GetterD->getCanonicalDecl());
605 markInvalidated(cast<ObjCIvarDecl>(D->getCanonicalDecl()));
612 MD = cast<ObjCMethodDecl>(MD->getCanonicalDecl());
625 PD = cast<ObjCPropertyDecl>(PD->getCanonicalDecl());
636 MD = cast<ObjCMethodDecl>(MD->getCanonicalDecl());
708 MD = cast<ObjCMethodDecl>(MD->getCanonicalDecl());
[all...]
H A DNoReturnFunctionChecker.cpp91 MD = MD->getCanonicalDecl();
/external/clang/include/clang/AST/
H A DGlobalDecl.h52 GlobalDecl getCanonicalDecl() const { function in class:clang::GlobalDecl
54 CanonGD.Value.setPointer(Value.getPointer()->getCanonicalDecl());
H A DDeclTemplate.h635 RedeclarableTemplateDecl *getCanonicalDecl() override {
638 const RedeclarableTemplateDecl *getCanonicalDecl() const { function in class:clang::TemplateParameterList::DependentFunctionTemplateSpecializationInfo
823 FunctionTemplateDecl *getCanonicalDecl() override {
825 RedeclarableTemplateDecl::getCanonicalDecl());
827 const FunctionTemplateDecl *getCanonicalDecl() const { function in class:clang::TemplateParameterList::FunctionTemplateDecl
829 RedeclarableTemplateDecl::getCanonicalDecl());
1885 ClassTemplateDecl *getCanonicalDecl() override {
1887 RedeclarableTemplateDecl::getCanonicalDecl());
1889 const ClassTemplateDecl *getCanonicalDecl() const { function in class:clang::TemplateParameterList::ClassTemplateDecl
1891 RedeclarableTemplateDecl::getCanonicalDecl());
2127 const TypeAliasTemplateDecl *getCanonicalDecl() const { function in class:clang::TemplateParameterList::TypeAliasTemplateDecl
2723 const VarTemplateDecl *getCanonicalDecl() const { function in class:clang::TemplateParameterList::VarTemplateDecl
[all...]
H A DDeclCXX.h645 CXXRecordDecl *getCanonicalDecl() override {
646 return cast<CXXRecordDecl>(RecordDecl::getCanonicalDecl());
648 virtual const CXXRecordDecl *getCanonicalDecl() const { function in class:clang::CXXRecordDecl
649 return cast<CXXRecordDecl>(RecordDecl::getCanonicalDecl());
1741 cast<CXXMethodDecl>(const_cast<CXXMethodDecl*>(this)->getCanonicalDecl());
1763 CXXMethodDecl *getCanonicalDecl() override {
1764 return cast<CXXMethodDecl>(FunctionDecl::getCanonicalDecl());
1766 const CXXMethodDecl *getCanonicalDecl() const override {
1767 return const_cast<CXXMethodDecl*>(this)->getCanonicalDecl();
1781 return !(isDeleted() || getCanonicalDecl()
2789 const UsingShadowDecl *getCanonicalDecl() const { function in class:clang::UsingShadowDecl
[all...]
H A DDecl.h437 NamespaceDecl *getCanonicalDecl() override {
440 const NamespaceDecl *getCanonicalDecl() const { function in class:clang::NamespaceDecl
917 VarDecl *getCanonicalDecl() override;
918 const VarDecl *getCanonicalDecl() const {
919 return const_cast<VarDecl*>(this)->getCanonicalDecl();
1755 bool isDeleted() const { return getCanonicalDecl()->IsDeleted; }
1832 virtual const FunctionDecl *getCanonicalDecl() const;
1833 FunctionDecl *getCanonicalDecl() override;
2268 FieldDecl *getCanonicalDecl() override { return getFirstDecl(); }
2269 const FieldDecl *getCanonicalDecl() cons
[all...]
H A DDeclBase.h705 virtual Decl *getCanonicalDecl() { return this; } function in class:clang::Decl
706 const Decl *getCanonicalDecl() const { function in class:clang::Decl
707 return const_cast<Decl*>(this)->getCanonicalDecl();
711 bool isCanonicalDecl() const { return getCanonicalDecl() == this; }
985 return D1->getCanonicalDecl() == D2->getCanonicalDecl();
H A DDeclObjC.h264 ObjCMethodDecl *getCanonicalDecl() override;
265 const ObjCMethodDecl *getCanonicalDecl() const {
266 return const_cast<ObjCMethodDecl*>(this)->getCanonicalDecl();
1354 ObjCInterfaceDecl *getCanonicalDecl() override { return getFirstDecl(); }
1355 const ObjCInterfaceDecl *getCanonicalDecl() const { return getFirstDecl(); } function in class:clang::ObjCInterfaceDecl
1673 ObjCProtocolDecl *getCanonicalDecl() override { return getFirstDecl(); }
1674 const ObjCProtocolDecl *getCanonicalDecl() const { return getFirstDecl(); } function in class:clang::ObjCProtocolDecl
/external/clang/lib/CodeGen/
H A DCGRecordLayout.h186 FD = FD->getCanonicalDecl();
205 FD = FD->getCanonicalDecl();
H A DModuleBuilder.cpp56 const Decl *D = Result.getCanonicalDecl().getDecl();
H A DCGDebugInfo.cpp902 StaticDataMemberCache[Var->getCanonicalDecl()] = llvm::WeakVH(GV);
955 StaticDataMemberCache.find(V->getCanonicalDecl());
1129 SPCache[Method->getCanonicalDecl()] = llvm::WeakVH(SP);
1154 SPCache.find(Method->getCanonicalDecl());
1169 SPCache.find(cast<CXXMethodDecl>(SI)->getCanonicalDecl());
2335 DeclCache.find(D->getCanonicalDecl());
2355 MI = SPCache.find(FD->getCanonicalDecl());
2358 dyn_cast<CXXMethodDecl>(FD->getCanonicalDecl())) {
2374 MI = SPCache.find(NextFD->getCanonicalDecl());
2470 FI = SPCache.find(FD->getCanonicalDecl());
[all...]
/external/clang/include/clang/Sema/
H A DSemaInternal.h65 SourceLocation &old = SemaRef.UndefinedButUsed[Var->getCanonicalDecl()];
/external/clang/lib/Sema/
H A DSemaAccess.cpp108 Records.push_back(Record->getCanonicalDecl());
112 Functions.push_back(Function->getCanonicalDecl());
128 R = R->getCanonicalDecl();
212 InstanceContext = (IC ? cast<CXXRecordDecl>(IC)->getCanonicalDecl()
227 return namingClass->getCanonicalDecl();
242 DeclaringClass = DeclaringClass->getCanonicalDecl();
276 assert(Derived->getCanonicalDecl() == Derived);
277 assert(Target->getCanonicalDecl() == Target);
307 RD = RD->getCanonicalDecl();
464 if (Friend == CTD->getCanonicalDecl())
[all...]
H A DIdentifierResolver.cpp265 if (Existing->getCanonicalDecl() == New->getCanonicalDecl()) {
H A DSemaExprMember.cpp31 return !Bases.count(Base->getCanonicalDecl());
117 Classes.insert(R->getCanonicalDecl());
167 contextClass = MD->getParent()->getCanonicalDecl();
178 contextClass->getCanonicalDecl() !=
179 R.getNamingClass()->getCanonicalDecl()) {
184 Classes.insert(R.getNamingClass()->getCanonicalDecl());
538 CXXRecordDecl *MemberRecord = cast<CXXRecordDecl>(DC)->getCanonicalDecl();
539 if (BaseRecord->getCanonicalDecl() == MemberRecord ||
H A DSemaTemplateInstantiateDecl.cpp1286 D->getCanonicalDecl()->getStorageClass(),
4155 Pattern = Pattern->getCanonicalDecl();
4158 Instance = Instance->getCanonicalDecl();
4168 Pattern = Pattern->getCanonicalDecl();
4171 Instance = Instance->getCanonicalDecl();
4183 = cast<ClassTemplatePartialSpecializationDecl>(Pattern->getCanonicalDecl());
4186 Instance->getCanonicalDecl());
4197 Pattern = Pattern->getCanonicalDecl();
4200 Instance = Instance->getCanonicalDecl();
4210 Pattern = Pattern->getCanonicalDecl();
[all...]
/external/clang/lib/Analysis/
H A DBodyFarm.cpp357 D = D->getCanonicalDecl();
453 D = D->getCanonicalDecl();
/external/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp243 return Expected->getCanonicalDecl() == RD->getCanonicalDecl();
/external/clang/tools/libclang/
H A DCIndexHigh.cpp35 Methods.push_back(D->getCanonicalDecl());
83 D = D->getCanonicalDecl();
/external/clang/lib/Serialization/
H A DASTReaderDecl.cpp520 if (EnumDecl *&OldDef = Reader.EnumDefinitions[ED->getCanonicalDecl()]) {
658 // use getCanonicalDecl on Template since it may still be initializing.
777 ID->getCanonicalDecl()->Data = ID->Data;
819 ID->Data = ID->getCanonicalDecl()->Data;
843 PD->getCanonicalDecl()->Data = PD->Data;
860 PD->Data = PD->getCanonicalDecl()->Data;
1136 // FIXME: At the point of this call, D->getCanonicalDecl() returns 0.
1405 CXXRecordDecl *Canon = D->getCanonicalDecl();
1475 D->DefinitionData = D->getCanonicalDecl()->DefinitionData;
1587 RedeclarableTemplateDecl *CanonD = D->getCanonicalDecl();
[all...]
/external/clang/lib/Index/
H A DUSRGeneration.cpp407 D = D->getCanonicalDecl();
501 D = D->getCanonicalDecl();

Completed in 2622 milliseconds

123