/external/clang/lib/AST/ |
D | CXXInheritance.cpp | 84 if (getCanonicalDecl() == Base->getCanonicalDecl()) in isDerivedFrom() 89 const_cast<CXXRecordDecl*>(Base->getCanonicalDecl()), in isDerivedFrom() 100 if (getCanonicalDecl() == Base->getCanonicalDecl()) in isVirtuallyDerivedFrom() 105 const void *BasePtr = static_cast<const void*>(Base->getCanonicalDecl()); in isVirtuallyDerivedFrom() 113 return Base->getCanonicalDecl() != (const CXXRecordDecl*) OpaqueTarget; in BaseIsNot() 118 const_cast<CXXRecordDecl *>(Base->getCanonicalDecl())); in isProvablyNotDerivedFrom() 369 assert(((Decl *)BaseRecord)->getCanonicalDecl() == BaseRecord && in FindBaseClass() 372 ->getCanonicalDecl() == BaseRecord; in FindBaseClass() 378 assert(((Decl *)BaseRecord)->getCanonicalDecl() == BaseRecord && in FindVirtualBaseClass() 382 ->getCanonicalDecl() == BaseRecord; in FindVirtualBaseClass() [all …]
|
D | ASTDiagnostic.cpp | 1002 FromValueDecl->getCanonicalDecl() == in DiffTemplate() 1003 ToValueDecl->getCanonicalDecl()); in DiffTemplate() 1019 FromDecl->getCanonicalDecl() == ToDecl->getCanonicalDecl()); in DiffTemplate() 1045 return FromTST->getTemplateName().getAsTemplateDecl()->getCanonicalDecl() == in hasSameBaseTemplate() 1046 ToTST->getTemplateName().getAsTemplateDecl()->getCanonicalDecl(); in hasSameBaseTemplate()
|
D | DeclCXX.cpp | 1092 HiddenVBaseCs.insert(cast<NamedDecl>(I.getDecl()->getCanonicalDecl())); in CollectVisibleConversions() 1162 if (!HiddenVBaseCs.count(cast<NamedDecl>(I.getDecl()->getCanonicalDecl()))) in CollectVisibleConversions() 1349 const CXXMethodDecl *MD = getCanonicalDecl(); in isStatic() 1363 if (MD->getCanonicalDecl() == BaseMD->getCanonicalDecl()) in recursivelyOverrides() 1374 if (this->getParent()->getCanonicalDecl() == RD->getCanonicalDecl()) in getCorrespondingMethodInClass()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | IvarInvalidationChecker.cpp | 254 cast<ObjCMethodDecl>(MDI->getCanonicalDecl())); in containsInvalidationMethod() 295 const ObjCIvarDecl *I = cast<ObjCIvarDecl>(Iv->getCanonicalDecl()); in trackIvar() 400 PD = cast<ObjCPropertyDecl>(PD->getCanonicalDecl()); in visit() 407 SetterD = cast<ObjCMethodDecl>(SetterD->getCanonicalDecl()); in visit() 413 GetterD = cast<ObjCMethodDecl>(GetterD->getCanonicalDecl()); in visit() 605 markInvalidated(cast<ObjCIvarDecl>(D->getCanonicalDecl())); in checkObjCIvarRefExpr() 612 MD = cast<ObjCMethodDecl>(MD->getCanonicalDecl()); in checkObjCMessageExpr() 625 PD = cast<ObjCPropertyDecl>(PD->getCanonicalDecl()); in checkObjCPropertyRefExpr() 636 MD = cast<ObjCMethodDecl>(MD->getCanonicalDecl()); in checkObjCPropertyRefExpr() 708 MD = cast<ObjCMethodDecl>(MD->getCanonicalDecl()); in VisitObjCMessageExpr()
|
D | DirectIvarAssignment.cpp | 151 MethodCrawler MC(IvarToPropMap, M->getCanonicalDecl(), InterD, BR, this, in checkASTDecl() 194 if (SetterMethod && SetterMethod->getCanonicalDecl() == MD) in VisitBinaryOperator() 197 if (GetterMethod && GetterMethod->getCanonicalDecl() == MD) in VisitBinaryOperator()
|
D | NoReturnFunctionChecker.cpp | 91 MD = MD->getCanonicalDecl(); in checkPostObjCMessage()
|
/external/clang/lib/Sema/ |
D | SemaAccess.cpp | 108 Records.push_back(Record->getCanonicalDecl()); in EffectiveContext() 112 Functions.push_back(Function->getCanonicalDecl()); in EffectiveContext() 128 R = R->getCanonicalDecl(); in includesClass() 212 InstanceContext = (IC ? cast<CXXRecordDecl>(IC)->getCanonicalDecl() in resolveInstanceContext() 227 return namingClass->getCanonicalDecl(); in getEffectiveNamingClass() 242 DeclaringClass = DeclaringClass->getCanonicalDecl(); in initialize() 276 assert(Derived->getCanonicalDecl() == Derived); in IsDerivedFromInclusive() 277 assert(Target->getCanonicalDecl() == Target); in IsDerivedFromInclusive() 307 RD = RD->getCanonicalDecl(); in IsDerivedFromInclusive() 464 if (Friend == CTD->getCanonicalDecl()) in MatchesFriend() [all …]
|
D | IdentifierResolver.cpp | 265 if (Existing->getCanonicalDecl() == New->getCanonicalDecl()) { in compareDeclarations()
|
D | SemaExprMember.cpp | 31 return !Bases.count(Base->getCanonicalDecl()); in BaseIsNotInSet() 117 Classes.insert(R->getCanonicalDecl()); in ClassifyImplicitMemberAccess() 167 contextClass = MD->getParent()->getCanonicalDecl(); in ClassifyImplicitMemberAccess() 178 contextClass->getCanonicalDecl() != in ClassifyImplicitMemberAccess() 179 R.getNamingClass()->getCanonicalDecl()) { in ClassifyImplicitMemberAccess() 184 Classes.insert(R.getNamingClass()->getCanonicalDecl()); in ClassifyImplicitMemberAccess() 538 CXXRecordDecl *MemberRecord = cast<CXXRecordDecl>(DC)->getCanonicalDecl(); in CheckQualifiedMemberReference() 539 if (BaseRecord->getCanonicalDecl() == MemberRecord || in CheckQualifiedMemberReference()
|
D | SemaTemplateInstantiateDecl.cpp | 1286 D->getCanonicalDecl()->getStorageClass(), in VisitFunctionDecl() 4155 Pattern = Pattern->getCanonicalDecl(); in isInstantiationOf() 4158 Instance = Instance->getCanonicalDecl(); in isInstantiationOf() 4168 Pattern = Pattern->getCanonicalDecl(); in isInstantiationOf() 4171 Instance = Instance->getCanonicalDecl(); in isInstantiationOf() 4183 = cast<ClassTemplatePartialSpecializationDecl>(Pattern->getCanonicalDecl()); in isInstantiationOf() 4186 Instance->getCanonicalDecl()); in isInstantiationOf() 4197 Pattern = Pattern->getCanonicalDecl(); in isInstantiationOf() 4200 Instance = Instance->getCanonicalDecl(); in isInstantiationOf() 4210 Pattern = Pattern->getCanonicalDecl(); in isInstantiationOf() [all …]
|
D | SemaDeclCXX.cpp | 1273 Class = Class->getCanonicalDecl(); in findCircularInheritance() 1284 if (Base->getCanonicalDecl() == Class) in findCircularInheritance() 1384 if (BaseDecl->getCanonicalDecl() == Class->getCanonicalDecl() || in CheckBaseSpecifier() 1390 if (BaseDecl->getCanonicalDecl() != Class->getCanonicalDecl()) in CheckBaseSpecifier() 3076 if (Base && Inherited->getCanonicalDecl() == Base->getCanonicalDecl()) { in BuildImplicitBaseInitializer() 3448 ActiveUnionMember.lookup(Record->getCanonicalDecl())) in isInactiveUnionMember() 3449 return Active != Field->getCanonicalDecl(); in isInactiveUnionMember() 3509 Info.AllBaseFields.lookup(Field->getCanonicalDecl())) in CollectFieldInitializer() 3622 Info.AllBaseFields[Member->getAnyMember()->getCanonicalDecl()] = Member; in SetCtorInitializers() 3629 FD->getParent()->getCanonicalDecl(), FD->getCanonicalDecl())); in SetCtorInitializers() [all …]
|
/external/clang/include/clang/AST/ |
D | DeclTemplate.h | 635 RedeclarableTemplateDecl *getCanonicalDecl() override { in getCanonicalDecl() function 638 const RedeclarableTemplateDecl *getCanonicalDecl() const { in getCanonicalDecl() function 823 FunctionTemplateDecl *getCanonicalDecl() override { 825 RedeclarableTemplateDecl::getCanonicalDecl()); 827 const FunctionTemplateDecl *getCanonicalDecl() const { 829 RedeclarableTemplateDecl::getCanonicalDecl()); 1885 ClassTemplateDecl *getCanonicalDecl() override { 1887 RedeclarableTemplateDecl::getCanonicalDecl()); 1889 const ClassTemplateDecl *getCanonicalDecl() const { 1891 RedeclarableTemplateDecl::getCanonicalDecl()); [all …]
|
D | GlobalDecl.h | 52 GlobalDecl getCanonicalDecl() const { in getCanonicalDecl() function 54 CanonGD.Value.setPointer(Value.getPointer()->getCanonicalDecl()); in getCanonicalDecl()
|
D | DeclCXX.h | 645 CXXRecordDecl *getCanonicalDecl() override { in getCanonicalDecl() function 646 return cast<CXXRecordDecl>(RecordDecl::getCanonicalDecl()); in getCanonicalDecl() 648 virtual const CXXRecordDecl *getCanonicalDecl() const { in getCanonicalDecl() function 649 return cast<CXXRecordDecl>(RecordDecl::getCanonicalDecl()); in getCanonicalDecl() 1741 cast<CXXMethodDecl>(const_cast<CXXMethodDecl*>(this)->getCanonicalDecl()); in isVirtual() 1763 CXXMethodDecl *getCanonicalDecl() override { in getCanonicalDecl() function 1764 return cast<CXXMethodDecl>(FunctionDecl::getCanonicalDecl()); in getCanonicalDecl() 1766 const CXXMethodDecl *getCanonicalDecl() const override { in getCanonicalDecl() function 1767 return const_cast<CXXMethodDecl*>(this)->getCanonicalDecl(); in getCanonicalDecl() 1781 return !(isDeleted() || getCanonicalDecl()->isDefaulted()); in isUserProvided() [all …]
|
D | Decl.h | 437 NamespaceDecl *getCanonicalDecl() override { in getCanonicalDecl() function 440 const NamespaceDecl *getCanonicalDecl() const { in getCanonicalDecl() function 917 VarDecl *getCanonicalDecl() override; 918 const VarDecl *getCanonicalDecl() const { in getCanonicalDecl() function 919 return const_cast<VarDecl*>(this)->getCanonicalDecl(); in getCanonicalDecl() 1755 bool isDeleted() const { return getCanonicalDecl()->IsDeleted; } in isDeleted() 1832 virtual const FunctionDecl *getCanonicalDecl() const; 1833 FunctionDecl *getCanonicalDecl() override; 2268 FieldDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() function 2269 const FieldDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() function [all …]
|
D | DeclBase.h | 705 virtual Decl *getCanonicalDecl() { return this; } in getCanonicalDecl() function 706 const Decl *getCanonicalDecl() const { in getCanonicalDecl() function 707 return const_cast<Decl*>(this)->getCanonicalDecl(); in getCanonicalDecl() 711 bool isCanonicalDecl() const { return getCanonicalDecl() == this; } in isCanonicalDecl() 985 return D1->getCanonicalDecl() == D2->getCanonicalDecl(); in declaresSameEntity()
|
D | DeclObjC.h | 264 ObjCMethodDecl *getCanonicalDecl() override; 265 const ObjCMethodDecl *getCanonicalDecl() const { in getCanonicalDecl() function 266 return const_cast<ObjCMethodDecl*>(this)->getCanonicalDecl(); in getCanonicalDecl() 1354 ObjCInterfaceDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() function 1355 const ObjCInterfaceDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() function 1673 ObjCProtocolDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() function 1674 const ObjCProtocolDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl() function
|
/external/clang/lib/CodeGen/ |
D | CGRecordLayout.h | 186 FD = FD->getCanonicalDecl(); in getLLVMFieldNo() 205 FD = FD->getCanonicalDecl(); in getBitFieldInfo()
|
D | ModuleBuilder.cpp | 56 const Decl *D = Result.getCanonicalDecl().getDecl(); in GetDeclForMangledName()
|
D | CGDebugInfo.cpp | 902 StaticDataMemberCache[Var->getCanonicalDecl()] = llvm::WeakVH(GV); in CreateRecordStaticField() 955 StaticDataMemberCache.find(V->getCanonicalDecl()); in CollectRecordFields() 1129 SPCache[Method->getCanonicalDecl()] = llvm::WeakVH(SP); in CreateCXXMemberFunction() 1154 SPCache.find(Method->getCanonicalDecl()); in CollectCXXMemberFunctions() 1169 SPCache.find(cast<CXXMethodDecl>(SI)->getCanonicalDecl()); in CollectCXXMemberFunctions() 2335 DeclCache.find(D->getCanonicalDecl()); in getDeclarationOrDefinition() 2355 MI = SPCache.find(FD->getCanonicalDecl()); in getFunctionDeclaration() 2358 dyn_cast<CXXMethodDecl>(FD->getCanonicalDecl())) { in getFunctionDeclaration() 2374 MI = SPCache.find(NextFD->getCanonicalDecl()); in getFunctionDeclaration() 2470 FI = SPCache.find(FD->getCanonicalDecl()); in EmitFunctionStart() [all …]
|
/external/clang/include/clang/Sema/ |
D | SemaInternal.h | 65 SourceLocation &old = SemaRef.UndefinedButUsed[Var->getCanonicalDecl()]; in MarkVarDeclODRUsed()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | Store.cpp | 243 return Expected->getCanonicalDecl() == RD->getCanonicalDecl(); in regionMatchesCXXRecordType()
|
/external/clang/lib/Analysis/ |
D | BodyFarm.cpp | 357 D = D->getCanonicalDecl(); in getBody() 453 D = D->getCanonicalDecl(); in getBody()
|
/external/clang/tools/libclang/ |
D | CIndexHigh.cpp | 35 Methods.push_back(D->getCanonicalDecl()); in getTopOverriddenMethods() 83 D = D->getCanonicalDecl(); in getCanonical()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 520 if (EnumDecl *&OldDef = Reader.EnumDefinitions[ED->getCanonicalDecl()]) { in VisitEnumDecl() 777 ID->getCanonicalDecl()->Data = ID->Data; in VisitObjCInterfaceDecl() 819 ID->Data = ID->getCanonicalDecl()->Data; in VisitObjCInterfaceDecl() 843 PD->getCanonicalDecl()->Data = PD->Data; in VisitObjCProtocolDecl() 860 PD->Data = PD->getCanonicalDecl()->Data; in VisitObjCProtocolDecl() 1405 CXXRecordDecl *Canon = D->getCanonicalDecl(); in ReadCXXRecordDefinition() 1475 D->DefinitionData = D->getCanonicalDecl()->DefinitionData; in VisitCXXRecordDeclImpl() 1587 RedeclarableTemplateDecl *CanonD = D->getCanonicalDecl(); in VisitRedeclarableTemplateDecl() 1615 D->Common = D->getCanonicalDecl()->Common; in VisitRedeclarableTemplateDecl() 2056 T *ExistingCanon = Existing->getCanonicalDecl(); in mergeRedeclarable() [all …]
|