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

123

/external/clang/lib/AST/
H A DCXXInheritance.cpp90 if (getCanonicalDecl() == Base->getCanonicalDecl())
95 const_cast<CXXRecordDecl*>(Base->getCanonicalDecl()),
106 if (getCanonicalDecl() == Base->getCanonicalDecl())
110 return lookupInBases(&FindVirtualBaseClass, Base->getCanonicalDecl(), Paths);
115 return Base->getCanonicalDecl() != (const CXXRecordDecl*) OpaqueTarget;
119 return forallBases(BaseIsNot, (void*) Base->getCanonicalDecl());
361 assert(((Decl *)BaseRecord)->getCanonicalDecl() == BaseRecord &&
364 ->getCanonicalDecl()
[all...]
H A DExprConstant.cpp823 if (Expected->getCanonicalDecl() != Class->getCanonicalDecl()) {
867 if (LHS.getDecl()->getCanonicalDecl() != RHS.getDecl()->getCanonicalDecl())
1484 Base = Base->getCanonicalDecl();
1488 if (I->getType()->getAsCXXRecordDecl()->getCanonicalDecl() == Base)
1593 UnionField->getCanonicalDecl() != Field->getCanonicalDecl()) {
1933 if (LVDecl->getCanonicalDecl() != MPDecl->getCanonicalDecl())
[all...]
H A DDecl.cpp1198 VarDecl *VarDecl::getCanonicalDecl() { function in class:VarDecl
1640 Definition = I->IsDeleted ? I->getCanonicalDecl() : *I;
1759 const FunctionDecl *FunctionDecl::getCanonicalDecl() const { function in class:FunctionDecl
1763 FunctionDecl *FunctionDecl::getCanonicalDecl() { function in class:FunctionDecl
1896 if (!isOutOfLine() || getCanonicalDecl()->isInlineSpecified())
2528 TagDecl* TagDecl::getCanonicalDecl() { function in class:TagDecl
H A DDeclTemplate.cpp396 Decl *DCanon = D->getCanonicalDecl();
401 if (P->getInstantiatedFromMember()->getCanonicalDecl() == DCanon)
H A DASTImporter.cpp1195 if (Context.NonEquivalentDecls.count(std::make_pair(D1->getCanonicalDecl(),
1196 D2->getCanonicalDecl())))
1200 Decl *&EquivToD1 = Context.TentativeEquivalences[D1->getCanonicalDecl()];
1202 return EquivToD1 == D2->getCanonicalDecl();
1205 EquivToD1 = D2->getCanonicalDecl();
1206 Context.DeclsToCheck.push_back(D1->getCanonicalDecl());
1327 NonEquivalentDecls.insert(std::make_pair(D1->getCanonicalDecl(),
1328 D2->getCanonicalDecl()));
3477 !declaresSameEntity(Super->getCanonicalDecl(), Impl->getSuperClass()))) {
/external/clang/include/clang/AST/
H A DGlobalDecl.h51 GlobalDecl getCanonicalDecl() const { function in class:clang::GlobalDecl
53 CanonGD.Value.setPointer(Value.getPointer()->getCanonicalDecl());
H A DDeclTemplate.h587 RedeclarableTemplateDecl *getCanonicalDecl() { return getFirstDeclaration(); } function in class:clang::TemplateParameterList::DependentFunctionTemplateSpecializationInfo
588 const RedeclarableTemplateDecl *getCanonicalDecl() const { function in class:clang::TemplateParameterList::DependentFunctionTemplateSpecializationInfo
763 FunctionTemplateDecl *getCanonicalDecl() { function in class:clang::TemplateParameterList::FunctionTemplateDecl
765 RedeclarableTemplateDecl::getCanonicalDecl());
767 const FunctionTemplateDecl *getCanonicalDecl() const { function in class:clang::TemplateParameterList::FunctionTemplateDecl
769 RedeclarableTemplateDecl::getCanonicalDecl());
1767 ClassTemplateDecl *getCanonicalDecl() { function in class:clang::TemplateParameterList::ClassTemplateDecl
1769 RedeclarableTemplateDecl::getCanonicalDecl());
1771 const ClassTemplateDecl *getCanonicalDecl() const { function in class:clang::TemplateParameterList::ClassTemplateDecl
1773 RedeclarableTemplateDecl::getCanonicalDecl());
2001 TypeAliasTemplateDecl *getCanonicalDecl() { function in class:clang::TemplateParameterList::TypeAliasTemplateDecl
2005 const TypeAliasTemplateDecl *getCanonicalDecl() const { function in class:clang::TemplateParameterList::TypeAliasTemplateDecl
[all...]
H A DDeclCXX.h676 virtual CXXRecordDecl *getCanonicalDecl() { function in class:clang::CXXRecordDecl
677 return cast<CXXRecordDecl>(RecordDecl::getCanonicalDecl());
679 virtual const CXXRecordDecl *getCanonicalDecl() const { function in class:clang::CXXRecordDecl
680 return cast<CXXRecordDecl>(RecordDecl::getCanonicalDecl());
1578 cast<CXXMethodDecl>(const_cast<CXXMethodDecl*>(this)->getCanonicalDecl());
1598 const CXXMethodDecl *getCanonicalDecl() const { function in class:clang::CXXMethodDecl
1599 return cast<CXXMethodDecl>(FunctionDecl::getCanonicalDecl());
1601 CXXMethodDecl *getCanonicalDecl() { function in class:clang::CXXMethodDecl
1602 return cast<CXXMethodDecl>(FunctionDecl::getCanonicalDecl());
1608 return !(isDeleted() || getCanonicalDecl()
2140 const CXXConstructorDecl *getCanonicalDecl() const { function in class:clang::CXXCtorInitializer
2143 CXXConstructorDecl *getCanonicalDecl() { function in class:clang::CXXCtorInitializer
[all...]
H A DDecl.h496 NamespaceDecl *getCanonicalDecl() { function in class:clang::NamespaceDecl
499 const NamespaceDecl *getCanonicalDecl() const { function in class:clang::NamespaceDecl
943 virtual VarDecl *getCanonicalDecl();
944 const VarDecl *getCanonicalDecl() const {
945 return const_cast<VarDecl*>(this)->getCanonicalDecl();
1764 bool isDeleted() const { return getCanonicalDecl()->IsDeleted; }
1796 virtual const FunctionDecl *getCanonicalDecl() const;
1797 virtual FunctionDecl *getCanonicalDecl();
2369 TypedefNameDecl *getCanonicalDecl() {
2372 const TypedefNameDecl *getCanonicalDecl() cons
[all...]
H A DDeclBase.h664 virtual Decl *getCanonicalDecl() { return this; } function in class:clang::Decl
665 const Decl *getCanonicalDecl() const { function in class:clang::Decl
666 return const_cast<Decl*>(this)->getCanonicalDecl();
670 bool isCanonicalDecl() const { return getCanonicalDecl() == this; }
880 return D1->getCanonicalDecl() == D2->getCanonicalDecl();
H A DDeclObjC.h263 virtual ObjCMethodDecl *getCanonicalDecl();
264 const ObjCMethodDecl *getCanonicalDecl() const {
265 return const_cast<ObjCMethodDecl*>(this)->getCanonicalDecl();
951 ObjCInterfaceDecl *getCanonicalDecl() { function in class:clang::ObjCInterfaceDecl
954 const ObjCInterfaceDecl *getCanonicalDecl() const { function in class:clang::ObjCInterfaceDecl
1236 ObjCProtocolDecl *getCanonicalDecl() { function in class:clang::ObjCProtocolDecl
1239 const ObjCProtocolDecl *getCanonicalDecl() const { function in class:clang::ObjCProtocolDecl
/external/clang/lib/Sema/
H A DSemaAccess.cpp101 CXXRecordDecl *Record = cast<CXXRecordDecl>(DC)->getCanonicalDecl();
105 FunctionDecl *Function = cast<FunctionDecl>(DC)->getCanonicalDecl();
123 R = R->getCanonicalDecl();
205 InstanceContext = (IC ? cast<CXXRecordDecl>(IC)->getCanonicalDecl() : 0);
225 DeclaringClass = DeclaringClass->getCanonicalDecl();
259 assert(Derived->getCanonicalDecl() == Derived);
260 assert(Target->getCanonicalDecl() == Target);
292 RD = RD->getCanonicalDecl();
452 if (Friend == CTD->getCanonicalDecl())
514 FTD = FTD->getCanonicalDecl();
[all...]
H A DIdentifierResolver.cpp301 if (Existing->getCanonicalDecl() == New->getCanonicalDecl()) {
H A DSemaTemplateInstantiateDecl.cpp3013 Pattern = Pattern->getCanonicalDecl();
3016 Instance = Instance->getCanonicalDecl();
3026 Pattern = Pattern->getCanonicalDecl();
3029 Instance = Instance->getCanonicalDecl();
3041 = cast<ClassTemplatePartialSpecializationDecl>(Pattern->getCanonicalDecl());
3044 Instance->getCanonicalDecl());
3055 Pattern = Pattern->getCanonicalDecl();
3058 Instance = Instance->getCanonicalDecl();
3068 Pattern = Pattern->getCanonicalDecl();
3071 Instance = Instance->getCanonicalDecl();
[all...]
H A DSemaExprMember.cpp31 if (Bases.count(Record->getCanonicalDecl()))
122 Classes.insert(R->getCanonicalDecl());
159 contextClass = MD->getParent()->getCanonicalDecl();
170 contextClass->getCanonicalDecl() !=
171 R.getNamingClass()->getCanonicalDecl() &&
536 MemberRecord.insert(cast<CXXRecordDecl>(DC)->getCanonicalDecl());
H A DSemaTemplateDeduction.cpp160 return X->getCanonicalDecl() == Y->getCanonicalDecl();
355 DeducedTemplateArgument NewDeduced(D? D->getCanonicalDecl() : 0);
2640 assert(Specialization->getPrimaryTemplate()->getCanonicalDecl() ==
2641 FunctionTemplate->getCanonicalDecl());
2681 Pos = SuppressedDiagnostics.find(Specialization->getCanonicalDecl());
2683 SuppressedDiagnostics[Specialization->getCanonicalDecl()]
3906 return T1->getCanonicalDecl() == T2->getCanonicalDecl();
H A DSemaCXXScopeSpec.cpp561 OuterDecl->getCanonicalDecl() != SD->getCanonicalDecl() &&
H A DSemaDeclCXX.cpp3835 bool First = CD == CD->getCanonicalDecl();
3920 bool First = CD == CD->getCanonicalDecl();
4019 bool First = MD == MD->getCanonicalDecl();
4110 bool First = CD == CD->getCanonicalDecl();
4207 bool First = MD == MD->getCanonicalDecl();
4296 bool First = DD == DD->getCanonicalDecl();
4779 MD = MD->getCanonicalDecl();
4824 Data.OverridenAndUsingBaseMethods.insert((*I)->getCanonicalDecl());
4827 Data.OverridenAndUsingBaseMethods.insert(MD->getCanonicalDecl());
5986 if (D1->getCanonicalDecl()
[all...]
/external/clang/lib/CodeGen/
H A DCGCXX.cpp306 MD = MD->getCanonicalDecl();
336 MD = MD->getCanonicalDecl();
369 DD = cast<CXXDestructorDecl>(DD->getCanonicalDecl());
386 DD = cast<CXXDestructorDecl>(DD->getCanonicalDecl());
/external/clang/tools/libclang/
H A DCIndexHigh.cpp33 Methods.push_back(D->getCanonicalDecl());
81 D = D->getCanonicalDecl();
H A DCIndexUSRs.cpp396 D = D->getCanonicalDecl();
487 D = D->getCanonicalDecl();
/external/clang/include/clang/Sema/
H A DLookup.h688 Decls.erase(cast<NamedDecl>(D->getCanonicalDecl()));
H A DOverload.h754 return Functions.insert(F->getCanonicalDecl());
/external/clang/lib/Serialization/
H A DASTReaderDecl.cpp579 // use getCanonicalDecl on Template since it may still be initializing.
687 ID->getCanonicalDecl()->Data = ID->Data;
728 ID->Data = ID->getCanonicalDecl()->Data;
752 PD->getCanonicalDecl()->Data = PD->Data;
769 PD->Data = PD->getCanonicalDecl()->Data;
1165 D->getCanonicalDecl()->DefinitionData = D->DefinitionData;
1175 D->DefinitionData = D->getCanonicalDecl()->DefinitionData;
1293 RedeclarableTemplateDecl *CanonD = D->getCanonicalDecl();
1553 T *ExistingCanon = Existing->getCanonicalDecl();
1554 T *DCanon = static_cast<T*>(D)->getCanonicalDecl();
[all...]
/external/clang/lib/Analysis/
H A DThreadSafety.cpp99 NamedDecl *ND = cast<NamedDecl>(DRE->getDecl()->getCanonicalDecl());
103 cast<FunctionDecl>(PV->getDeclContext())->getCanonicalDecl();
106 if (FunArgs && FD == D->getCanonicalDecl()) {
130 DeclSeq.push_back(CMCE->getMethodDecl()->getCanonicalDecl());

Completed in 593 milliseconds

123