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

123

/external/clang/lib/AST/
H A DCXXInheritance.cpp89 if (getCanonicalDecl() == Base->getCanonicalDecl())
94 const_cast<CXXRecordDecl*>(Base->getCanonicalDecl()),
105 if (getCanonicalDecl() == Base->getCanonicalDecl())
110 const void *BasePtr = static_cast<const void*>(Base->getCanonicalDecl());
118 return Base->getCanonicalDecl() != (const CXXRecordDecl*) OpaqueTarget;
122 return forallBases(BaseIsNot, (void*) Base->getCanonicalDecl());
364 assert(((Decl *)BaseRecord)->getCanonicalDecl() == BaseRecord &&
367 ->getCanonicalDecl()
[all...]
H A DDeclCXX.cpp1022 HiddenVBaseCs.insert(cast<NamedDecl>(I.getDecl()->getCanonicalDecl()));
1093 if (!HiddenVBaseCs.count(cast<NamedDecl>(I.getDecl()->getCanonicalDecl())))
1290 if (MD->getCanonicalDecl() == BaseMD->getCanonicalDecl())
1301 if (this->getParent()->getCanonicalDecl() == RD->getCanonicalDecl())
H A DExprConstant.cpp814 if (Expected->getCanonicalDecl() != Class->getCanonicalDecl()) {
858 if (LHS.getDecl()->getCanonicalDecl() != RHS.getDecl()->getCanonicalDecl())
1492 Base = Base->getCanonicalDecl();
1496 if (I->getType()->getAsCXXRecordDecl()->getCanonicalDecl() == Base)
1601 UnionField->getCanonicalDecl() != Field->getCanonicalDecl()) {
1941 if (LVDecl->getCanonicalDecl() != MPDecl->getCanonicalDecl())
[all...]
H A DDecl.cpp1226 VarDecl *VarDecl::getCanonicalDecl() { function in class:VarDecl
1668 Definition = I->IsDeleted ? I->getCanonicalDecl() : *I;
1794 const FunctionDecl *FunctionDecl::getCanonicalDecl() const { function in class:FunctionDecl
1798 FunctionDecl *FunctionDecl::getCanonicalDecl() { function in class:FunctionDecl
1931 if (!isOutOfLine() || getCanonicalDecl()->isInlineSpecified())
2568 TagDecl* TagDecl::getCanonicalDecl() { function in class:TagDecl
H A DDeclTemplate.cpp414 Decl *DCanon = D->getCanonicalDecl();
419 if (P->getInstantiatedFromMember()->getCanonicalDecl() == DCanon)
H A DASTImporter.cpp1167 if (Context.NonEquivalentDecls.count(std::make_pair(D1->getCanonicalDecl(),
1168 D2->getCanonicalDecl())))
1172 Decl *&EquivToD1 = Context.TentativeEquivalences[D1->getCanonicalDecl()];
1174 return EquivToD1 == D2->getCanonicalDecl();
1177 EquivToD1 = D2->getCanonicalDecl();
1178 Context.DeclsToCheck.push_back(D1->getCanonicalDecl());
1299 NonEquivalentDecls.insert(std::make_pair(D1->getCanonicalDecl(),
1300 D2->getCanonicalDecl()));
3458 !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.h604 RedeclarableTemplateDecl *getCanonicalDecl() { return getFirstDeclaration(); } function in class:clang::TemplateParameterList::DependentFunctionTemplateSpecializationInfo
605 const RedeclarableTemplateDecl *getCanonicalDecl() const { function in class:clang::TemplateParameterList::DependentFunctionTemplateSpecializationInfo
781 FunctionTemplateDecl *getCanonicalDecl() { function in class:clang::TemplateParameterList::FunctionTemplateDecl
783 RedeclarableTemplateDecl::getCanonicalDecl());
785 const FunctionTemplateDecl *getCanonicalDecl() const { function in class:clang::TemplateParameterList::FunctionTemplateDecl
787 RedeclarableTemplateDecl::getCanonicalDecl());
1866 ClassTemplateDecl *getCanonicalDecl() { function in class:clang::TemplateParameterList::ClassTemplateDecl
1868 RedeclarableTemplateDecl::getCanonicalDecl());
1870 const ClassTemplateDecl *getCanonicalDecl() const { function in class:clang::TemplateParameterList::ClassTemplateDecl
1872 RedeclarableTemplateDecl::getCanonicalDecl());
2107 TypeAliasTemplateDecl *getCanonicalDecl() { function in class:clang::TemplateParameterList::TypeAliasTemplateDecl
2111 const TypeAliasTemplateDecl *getCanonicalDecl() const { function in class:clang::TemplateParameterList::TypeAliasTemplateDecl
[all...]
H A DDeclCXX.h675 virtual CXXRecordDecl *getCanonicalDecl() { function in class:clang::CXXRecordDecl
676 return cast<CXXRecordDecl>(RecordDecl::getCanonicalDecl());
678 virtual const CXXRecordDecl *getCanonicalDecl() const { function in class:clang::CXXRecordDecl
679 return cast<CXXRecordDecl>(RecordDecl::getCanonicalDecl());
1557 cast<CXXMethodDecl>(const_cast<CXXMethodDecl*>(this)->getCanonicalDecl());
1579 const CXXMethodDecl *getCanonicalDecl() const { function in class:clang::CXXMethodDecl
1580 return cast<CXXMethodDecl>(FunctionDecl::getCanonicalDecl());
1582 CXXMethodDecl *getCanonicalDecl() { function in class:clang::CXXMethodDecl
1583 return cast<CXXMethodDecl>(FunctionDecl::getCanonicalDecl());
1589 return !(isDeleted() || getCanonicalDecl()
2137 const CXXConstructorDecl *getCanonicalDecl() const { function in class:clang::CXXCtorInitializer
2140 CXXConstructorDecl *getCanonicalDecl() { function in class:clang::CXXCtorInitializer
[all...]
H A DDecl.h494 NamespaceDecl *getCanonicalDecl() { function in class:clang::NamespaceDecl
497 const NamespaceDecl *getCanonicalDecl() const { function in class:clang::NamespaceDecl
941 virtual VarDecl *getCanonicalDecl();
942 const VarDecl *getCanonicalDecl() const {
943 return const_cast<VarDecl*>(this)->getCanonicalDecl();
1762 bool isDeleted() const { return getCanonicalDecl()->IsDeleted; }
1794 virtual const FunctionDecl *getCanonicalDecl() const;
1795 virtual FunctionDecl *getCanonicalDecl();
2377 TypedefNameDecl *getCanonicalDecl() {
2380 const TypedefNameDecl *getCanonicalDecl() cons
[all...]
H A DDeclBase.h665 virtual Decl *getCanonicalDecl() { return this; } function in class:clang::Decl
666 const Decl *getCanonicalDecl() const { function in class:clang::Decl
667 return const_cast<Decl*>(this)->getCanonicalDecl();
671 bool isCanonicalDecl() const { return getCanonicalDecl() == this; }
884 return D1->getCanonicalDecl() == D2->getCanonicalDecl();
H A DDeclObjC.h272 virtual ObjCMethodDecl *getCanonicalDecl();
273 const ObjCMethodDecl *getCanonicalDecl() const {
274 return const_cast<ObjCMethodDecl*>(this)->getCanonicalDecl();
983 ObjCInterfaceDecl *getCanonicalDecl() { function in class:clang::ObjCInterfaceDecl
986 const ObjCInterfaceDecl *getCanonicalDecl() const { function in class:clang::ObjCInterfaceDecl
1273 ObjCProtocolDecl *getCanonicalDecl() { function in class:clang::ObjCProtocolDecl
1276 const ObjCProtocolDecl *getCanonicalDecl() const { function in class:clang::ObjCProtocolDecl
/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() : 0);
232 DeclaringClass = DeclaringClass->getCanonicalDecl();
266 assert(Derived->getCanonicalDecl() == Derived);
267 assert(Target->getCanonicalDecl() == Target);
299 RD = RD->getCanonicalDecl();
459 if (Friend == CTD->getCanonicalDecl())
521 FTD = FTD->getCanonicalDecl();
[all...]
H A DIdentifierResolver.cpp301 if (Existing->getCanonicalDecl() == New->getCanonicalDecl()) {
H A DSemaTemplateInstantiateDecl.cpp3152 Pattern = Pattern->getCanonicalDecl();
3155 Instance = Instance->getCanonicalDecl();
3165 Pattern = Pattern->getCanonicalDecl();
3168 Instance = Instance->getCanonicalDecl();
3180 = cast<ClassTemplatePartialSpecializationDecl>(Pattern->getCanonicalDecl());
3183 Instance->getCanonicalDecl());
3194 Pattern = Pattern->getCanonicalDecl();
3197 Instance = Instance->getCanonicalDecl();
3207 Pattern = Pattern->getCanonicalDecl();
3210 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.cpp169 return X->getCanonicalDecl() == Y->getCanonicalDecl();
365 DeducedTemplateArgument NewDeduced(D? D->getCanonicalDecl() : 0);
2667 assert(Specialization->getPrimaryTemplate()->getCanonicalDecl() ==
2668 FunctionTemplate->getCanonicalDecl());
2708 Pos = SuppressedDiagnostics.find(Specialization->getCanonicalDecl());
2710 SuppressedDiagnostics[Specialization->getCanonicalDecl()]
3964 return T1->getCanonicalDecl() == T2->getCanonicalDecl();
H A DSemaCXXScopeSpec.cpp563 OuterDecl->getCanonicalDecl() != SD->getCanonicalDecl() &&
/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();
490 D = D->getCanonicalDecl();
/external/clang/include/clang/Sema/
H A DLookup.h688 Decls.erase(cast<NamedDecl>(D->getCanonicalDecl()));
H A DOverload.h763 return Functions.insert(F->getCanonicalDecl());
/external/clang/lib/Serialization/
H A DASTReaderDecl.cpp580 // use getCanonicalDecl on Template since it may still be initializing.
693 ID->getCanonicalDecl()->Data = ID->Data;
734 ID->Data = ID->getCanonicalDecl()->Data;
758 PD->getCanonicalDecl()->Data = PD->Data;
775 PD->Data = PD->getCanonicalDecl()->Data;
1165 D->getCanonicalDecl()->DefinitionData = D->DefinitionData;
1175 D->DefinitionData = D->getCanonicalDecl()->DefinitionData;
1292 RedeclarableTemplateDecl *CanonD = D->getCanonicalDecl();
1560 T *ExistingCanon = Existing->getCanonicalDecl();
1561 T *DCanon = static_cast<T*>(D)->getCanonicalDecl();
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp477 if (MD->getCanonicalDecl() != getDecl()->getCanonicalDecl()) {

Completed in 412 milliseconds

123