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

123

/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DSemaInternal.h53 SourceLocation &old = SemaRef.UndefinedButUsed[Var->getCanonicalDecl()];
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/
H A DCXXInheritance.cpp88 if (getCanonicalDecl() == Base->getCanonicalDecl())
93 const_cast<CXXRecordDecl*>(Base->getCanonicalDecl()),
104 if (getCanonicalDecl() == Base->getCanonicalDecl())
109 const void *BasePtr = static_cast<const void*>(Base->getCanonicalDecl());
117 return Base->getCanonicalDecl() != (const CXXRecordDecl*) OpaqueTarget;
122 const_cast<CXXRecordDecl *>(Base->getCanonicalDecl()));
377 assert(((Decl *)BaseRecord)->getCanonicalDecl() == BaseRecord &&
380 ->getCanonicalDecl()
[all...]
H A DASTDiagnostic.cpp969 FromValueDecl->getCanonicalDecl() ==
970 ToValueDecl->getCanonicalDecl());
986 FromDecl->getCanonicalDecl() == ToDecl->getCanonicalDecl());
1012 return FromTST->getTemplateName().getAsTemplateDecl()->getCanonicalDecl() ==
1013 ToTST->getTemplateName().getAsTemplateDecl()->getCanonicalDecl();
H A DDeclCXX.cpp1074 HiddenVBaseCs.insert(cast<NamedDecl>(I.getDecl()->getCanonicalDecl()));
1146 if (!HiddenVBaseCs.count(cast<NamedDecl>(I.getDecl()->getCanonicalDecl())))
1335 const CXXMethodDecl *MD = getCanonicalDecl();
1349 if (MD->getCanonicalDecl() == BaseMD->getCanonicalDecl())
1360 if (this->getParent()->getCanonicalDecl() == RD->getCanonicalDecl())
H A DDeclTemplate.cpp427 Decl *DCanon = D->getCanonicalDecl();
432 if (P->getInstantiatedFromMember()->getCanonicalDecl() == DCanon)
1078 Decl *DCanon = D->getCanonicalDecl();
1083 if (P->getInstantiatedFromMember()->getCanonicalDecl() == DCanon)
H A DDecl.cpp576 if (Function->getCanonicalDecl()->getStorageClass() == SC_Static)
1048 if (Function->getCanonicalDecl()->getStorageClass() == SC_Static)
1720 VarDecl *VarDecl::getCanonicalDecl() { return getFirstDecl(); } function in class:VarDecl
2227 Definition = I->IsDeleted ? I->getCanonicalDecl() : *I;
2417 if (getCanonicalDecl()->getStorageClass() == SC_Static)
2454 const FunctionDecl *FunctionDecl::getCanonicalDecl() const { function in class:FunctionDecl
2458 FunctionDecl *FunctionDecl::getCanonicalDecl() { return getFirstDecl(); } function in class:FunctionDecl
3131 const FieldDecl *Canonical = getCanonicalDecl();
3142 I->getCanonicalDecl()->CachedFieldIndex = Index + 1;
3179 TagDecl *TagDecl::getCanonicalDecl() { retur function in class:TagDecl
[all...]
/freebsd-9.3-release/contrib/llvm/tools/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.h634 RedeclarableTemplateDecl *getCanonicalDecl() { return getFirstDecl(); } function in class:clang::TemplateParameterList::DependentFunctionTemplateSpecializationInfo
635 const RedeclarableTemplateDecl *getCanonicalDecl() const { function in class:clang::TemplateParameterList::DependentFunctionTemplateSpecializationInfo
816 FunctionTemplateDecl *getCanonicalDecl() { function in class:clang::TemplateParameterList::FunctionTemplateDecl
818 RedeclarableTemplateDecl::getCanonicalDecl());
820 const FunctionTemplateDecl *getCanonicalDecl() const { function in class:clang::TemplateParameterList::FunctionTemplateDecl
822 RedeclarableTemplateDecl::getCanonicalDecl());
1882 ClassTemplateDecl *getCanonicalDecl() { function in class:clang::TemplateParameterList::ClassTemplateDecl
1884 RedeclarableTemplateDecl::getCanonicalDecl());
1886 const ClassTemplateDecl *getCanonicalDecl() const { function in class:clang::TemplateParameterList::ClassTemplateDecl
1888 RedeclarableTemplateDecl::getCanonicalDecl());
2125 TypeAliasTemplateDecl *getCanonicalDecl() { function in class:clang::TemplateParameterList::TypeAliasTemplateDecl
2129 const TypeAliasTemplateDecl *getCanonicalDecl() const { function in class:clang::TemplateParameterList::TypeAliasTemplateDecl
2727 VarTemplateDecl *getCanonicalDecl() { function in class:clang::TemplateParameterList::VarTemplateDecl
2730 const VarTemplateDecl *getCanonicalDecl() const { function in class:clang::TemplateParameterList::VarTemplateDecl
[all...]
H A DDeclCXX.h634 virtual CXXRecordDecl *getCanonicalDecl() { function in class:clang::CXXRecordDecl
635 return cast<CXXRecordDecl>(RecordDecl::getCanonicalDecl());
637 virtual const CXXRecordDecl *getCanonicalDecl() const { function in class:clang::CXXRecordDecl
638 return cast<CXXRecordDecl>(RecordDecl::getCanonicalDecl());
1684 cast<CXXMethodDecl>(const_cast<CXXMethodDecl*>(this)->getCanonicalDecl());
1706 CXXMethodDecl *getCanonicalDecl() { function in class:clang::CXXMethodDecl
1707 return cast<CXXMethodDecl>(FunctionDecl::getCanonicalDecl());
1709 const CXXMethodDecl *getCanonicalDecl() const { function in class:clang::CXXMethodDecl
1710 return const_cast<CXXMethodDecl*>(this)->getCanonicalDecl();
1724 return !(isDeleted() || getCanonicalDecl()
2715 virtual UsingShadowDecl *getCanonicalDecl() { function in class:clang::UsingShadowDecl
2718 virtual const UsingShadowDecl *getCanonicalDecl() const { function in class:clang::UsingShadowDecl
[all...]
H A DDecl.h435 NamespaceDecl *getCanonicalDecl() { function in class:clang::NamespaceDecl
438 const NamespaceDecl *getCanonicalDecl() const { function in class:clang::NamespaceDecl
916 virtual VarDecl *getCanonicalDecl();
917 const VarDecl *getCanonicalDecl() const {
918 return const_cast<VarDecl*>(this)->getCanonicalDecl();
1753 bool isDeleted() const { return getCanonicalDecl()->IsDeleted; }
1830 virtual const FunctionDecl *getCanonicalDecl() const;
1831 virtual FunctionDecl *getCanonicalDecl();
2240 FieldDecl *getCanonicalDecl() { return getFirstDecl(); }
2241 const FieldDecl *getCanonicalDecl() cons
[all...]
H A DDeclBase.h706 virtual Decl *getCanonicalDecl() { return this; } function in class:clang::Decl
707 const Decl *getCanonicalDecl() const { function in class:clang::Decl
708 return const_cast<Decl*>(this)->getCanonicalDecl();
712 bool isCanonicalDecl() const { return getCanonicalDecl() == this; }
963 return D1->getCanonicalDecl() == D2->getCanonicalDecl();
H A DDeclObjC.h274 virtual ObjCMethodDecl *getCanonicalDecl();
275 const ObjCMethodDecl *getCanonicalDecl() const {
276 return const_cast<ObjCMethodDecl*>(this)->getCanonicalDecl();
1207 ObjCInterfaceDecl *getCanonicalDecl() { return getFirstDecl(); } function in class:clang::ObjCInterfaceDecl
1208 const ObjCInterfaceDecl *getCanonicalDecl() const { return getFirstDecl(); } function in class:clang::ObjCInterfaceDecl
1521 ObjCProtocolDecl *getCanonicalDecl() { return getFirstDecl(); } function in class:clang::ObjCProtocolDecl
1522 const ObjCProtocolDecl *getCanonicalDecl() const { return getFirstDecl(); } function in class:clang::ObjCProtocolDecl
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp256 cast<ObjCMethodDecl>(MDI->getCanonicalDecl()));
307 const ObjCIvarDecl *I = cast<ObjCIvarDecl>(Iv->getCanonicalDecl());
412 PD = cast<ObjCPropertyDecl>(PD->getCanonicalDecl());
419 SetterD = cast<ObjCMethodDecl>(SetterD->getCanonicalDecl());
425 GetterD = cast<ObjCMethodDecl>(GetterD->getCanonicalDecl());
615 markInvalidated(cast<ObjCIvarDecl>(D->getCanonicalDecl()));
622 MD = cast<ObjCMethodDecl>(MD->getCanonicalDecl());
635 PD = cast<ObjCPropertyDecl>(PD->getCanonicalDecl());
646 MD = cast<ObjCMethodDecl>(MD->getCanonicalDecl());
718 MD = cast<ObjCMethodDecl>(MD->getCanonicalDecl());
[all...]
H A DNoReturnFunctionChecker.cpp107 MD = MD->getCanonicalDecl();
H A DDirectIvarAssignment.cpp155 MethodCrawler MC(IvarToPropMap, M->getCanonicalDecl(), InterD, BR, DCtx);
201 if (SetterMethod && SetterMethod->getCanonicalDecl() == MD)
204 if (GetterMethod && GetterMethod->getCanonicalDecl() == MD)
/freebsd-9.3-release/contrib/llvm/tools/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);
226 return namingClass->getCanonicalDecl();
241 DeclaringClass = DeclaringClass->getCanonicalDecl();
275 assert(Derived->getCanonicalDecl() == Derived);
276 assert(Target->getCanonicalDecl() == Target);
308 RD = RD->getCanonicalDecl();
467 if (Friend == CTD->getCanonicalDecl())
[all...]
H A DIdentifierResolver.cpp266 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());
527 CXXRecordDecl *MemberRecord = cast<CXXRecordDecl>(DC)->getCanonicalDecl();
528 if (BaseRecord->getCanonicalDecl() == MemberRecord ||
H A DSemaTemplateInstantiateDecl.cpp1246 D->getCanonicalDecl()->getStorageClass(),
4100 Pattern = Pattern->getCanonicalDecl();
4103 Instance = Instance->getCanonicalDecl();
4113 Pattern = Pattern->getCanonicalDecl();
4116 Instance = Instance->getCanonicalDecl();
4128 = cast<ClassTemplatePartialSpecializationDecl>(Pattern->getCanonicalDecl());
4131 Instance->getCanonicalDecl());
4142 Pattern = Pattern->getCanonicalDecl();
4145 Instance = Instance->getCanonicalDecl();
4155 Pattern = Pattern->getCanonicalDecl();
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp243 return Expected->getCanonicalDecl() == RD->getCanonicalDecl();
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGDebugInfo.cpp880 StaticDataMemberCache[Var->getCanonicalDecl()] = llvm::WeakVH(GV);
934 StaticDataMemberCache.find(V->getCanonicalDecl());
1098 SPCache[Method->getCanonicalDecl()] = llvm::WeakVH(SP);
1124 SPCache.find(Method->getCanonicalDecl());
1142 SPCache.find(cast<CXXMethodDecl>(*SI)->getCanonicalDecl());
2328 DeclCache.find(D->getCanonicalDecl());
2348 MI = SPCache.find(FD->getCanonicalDecl());
2351 dyn_cast<CXXMethodDecl>(FD->getCanonicalDecl())) {
2370 MI = SPCache.find(NextFD->getCanonicalDecl());
2455 FI = SPCache.find(FD->getCanonicalDecl());
[all...]
H A DCGCXX.cpp304 GD = GD.getCanonicalDecl();
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderDecl.cpp496 if (EnumDecl *&OldDef = Reader.EnumDefinitions[ED->getCanonicalDecl()]) {
631 // use getCanonicalDecl on Template since it may still be initializing.
749 ID->getCanonicalDecl()->Data = ID->Data;
790 ID->Data = ID->getCanonicalDecl()->Data;
816 PD->getCanonicalDecl()->Data = PD->Data;
833 PD->Data = PD->getCanonicalDecl()->Data;
1102 // FIXME: At the point of this call, D->getCanonicalDecl() returns 0.
1279 CXXRecordDecl *Canon = D->getCanonicalDecl();
1295 std::make_pair(D, D->getCanonicalDecl()->DefinitionData->Definition));
1297 D->DefinitionData = D->getCanonicalDecl()
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Index/
H A DUSRGeneration.cpp384 D = D->getCanonicalDecl();
478 D = D->getCanonicalDecl();
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Analysis/
H A DBodyFarm.cpp345 D = D->getCanonicalDecl();

Completed in 270 milliseconds

123