Home
last modified time | relevance | path

Searched refs:CXXMethodDecl (Results 1 – 25 of 119) sorted by relevance

12345

/external/clang/include/clang/AST/
DASTLambda.h28 inline bool isLambdaCallOperator(const CXXMethodDecl *MD) { in isLambdaCallOperator()
35 if (!DC || !isa<CXXMethodDecl>(DC)) return false; in isLambdaCallOperator()
36 return isLambdaCallOperator(cast<CXXMethodDecl>(DC)); in isLambdaCallOperator()
39 inline bool isGenericLambdaCallOperatorSpecialization(const CXXMethodDecl *MD) { in isGenericLambdaCallOperatorSpecialization()
65 dyn_cast<CXXMethodDecl>(DC)); in isGenericLambdaCallOperatorSpecialization()
DVTableBuilder.h72 static VTableComponent MakeFunction(const CXXMethodDecl *MD) { in MakeFunction()
90 static VTableComponent MakeUnusedFunction(const CXXMethodDecl *MD) { in MakeUnusedFunction()
129 const CXXMethodDecl *getFunctionDecl() const { in getFunctionDecl()
133 return reinterpret_cast<CXXMethodDecl *>(getPointer()); in getFunctionDecl()
141 const CXXMethodDecl *getUnusedFunctionDecl() const { in getUnusedFunctionDecl()
143 return reinterpret_cast<CXXMethodDecl *>(getPointer()); in getUnusedFunctionDecl()
304 typedef llvm::DenseMap<const CXXMethodDecl *, ThunkInfoVectorTy> ThunksMapTy;
317 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()->getCanonicalDecl()); in getThunkInfo()
DDeclCXX.h37 class CXXMethodDecl; variable
751 typedef specific_decl_iterator<CXXMethodDecl> method_iterator;
752 typedef llvm::iterator_range<specific_decl_iterator<CXXMethodDecl>>
1035 CXXMethodDecl *getLambdaCallOperator() const;
1040 CXXMethodDecl *getLambdaStaticInvoker() const;
1597 void finishedDefaultedOrDeletedMember(CXXMethodDecl *MD);
1707 class CXXMethodDecl : public FunctionDecl {
1710 CXXMethodDecl(Kind DK, ASTContext &C, CXXRecordDecl *RD, in CXXMethodDecl() function
1722 static CXXMethodDecl *Create(ASTContext &C, CXXRecordDecl *RD,
1731 static CXXMethodDecl *CreateDeserialized(ASTContext &C, unsigned ID);
[all …]
DCXXInheritance.h32 class CXXMethodDecl; variable
234 UniqueVirtualMethod(CXXMethodDecl *Method, unsigned Subobject, in UniqueVirtualMethod()
240 CXXMethodDecl *Method;
357 : public llvm::MapVector<const CXXMethodDecl *, OverridingMethods> { };
DMangleNumberingContext.h25 class CXXMethodDecl; variable
39 virtual unsigned getManglingNumber(const CXXMethodDecl *CallOperator) = 0;
DASTConsumer.h21 class CXXMethodDecl; variable
60 virtual void HandleInlineMethodDefinition(CXXMethodDecl *D) {} in HandleInlineMethodDefinition()
DMangle.h30 class CXXMethodDecl; variable
99 virtual void mangleThunk(const CXXMethodDecl *MD,
201 virtual void mangleVirtualMemPtrThunk(const CXXMethodDecl *MD,
/external/clang/lib/AST/
DVTableBuilder.cpp67 const CXXMethodDecl *Method;
102 typedef std::pair<const CXXMethodDecl *, CharUnits> MethodBaseOffsetPairTy;
141 OverriderInfo getOverrider(const CXXMethodDecl *MD, in getOverrider()
181 const CXXMethodDecl *MD = Overrider.first; in FinalOverriders()
272 const CXXMethodDecl *DerivedMD, in ComputeReturnAdjustmentBaseOffset()
273 const CXXMethodDecl *BaseMD) { in ComputeReturnAdjustmentBaseOffset()
445 typedef std::pair<const CXXMethodDecl *, CharUnits> MethodAndOffsetPairTy;
453 static bool MethodsCanShareVCallOffset(const CXXMethodDecl *LHS,
454 const CXXMethodDecl *RHS);
460 bool AddVCallOffset(const CXXMethodDecl *MD, CharUnits OffsetOffset);
[all …]
DDeclCXX.cpp434 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(D)) { in addedMember()
546 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(D)) { in addedMember()
933 void CXXRecordDecl::finishedDefaultedOrDeletedMember(CXXMethodDecl *D) { in finishedDefaultedOrDeletedMember()
984 CXXMethodDecl* CXXRecordDecl::getLambdaCallOperator() const { in getLambdaCallOperator()
996 return cast<CXXMethodDecl>(CallOpTmpl->getTemplatedDecl()); in getLambdaCallOperator()
998 return cast<CXXMethodDecl>(CallOp); in getLambdaCallOperator()
1001 CXXMethodDecl* CXXRecordDecl::getLambdaStaticInvoker() const { in getLambdaStaticInvoker()
1011 return cast<CXXMethodDecl>(InvokerTemplate->getTemplatedDecl()); in getLambdaStaticInvoker()
1013 return cast<CXXMethodDecl>(InvokerFun); in getLambdaStaticInvoker()
1037 CXXMethodDecl *CallOp = getLambdaCallOperator(); in getGenericLambdaTemplateParameterList()
[all …]
DCXXInheritance.cpp525 const CXXMethodDecl *CanonOM in Collect()
526 = cast<CXXMethodDecl>(OM->first->getCanonicalDecl()); in Collect()
537 CXXMethodDecl *CanonM = cast<CXXMethodDecl>(M->getCanonicalDecl()); in Collect()
559 typedef llvm::iterator_range<CXXMethodDecl::method_iterator> in Collect()
565 for (const CXXMethodDecl *OM : Stack.pop_back_val()) { in Collect()
566 const CXXMethodDecl *CanonOM = OM->getCanonicalDecl(); in Collect()
DMicrosoftMangle.cpp106 void mangleVirtualMemPtrThunk(const CXXMethodDecl *MD,
108 void mangleThunk(const CXXMethodDecl *MD, const ThunkInfo &Thunk,
261 const CXXMethodDecl *MD);
263 const CXXMethodDecl *MD,
539 const CXXMethodDecl *MD) { in mangleMemberFunctionPointer()
602 const CXXMethodDecl *MD, in mangleVirtualMemPtrThunk()
1207 const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD); in mangleTemplateArg()
1751 if (const CXXMethodDecl *MD = dyn_cast_or_null<CXXMethodDecl>(D)) { in mangleFunctionType()
1893 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD)) { in mangleFunctionClass()
2386 static void mangleThunkThisAdjustment(const CXXMethodDecl *MD, in mangleThunkThisAdjustment()
[all …]
/external/clang/lib/CodeGen/
DCGVTables.cpp37 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in GetAddrOfThunk()
53 static void setThunkVisibility(CodeGenModule &CGM, const CXXMethodDecl *MD, in setThunkVisibility()
66 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in setThunkProperties()
147 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in GenerateVarArgsThunk()
217 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in StartThunk()
258 assert(isa<CXXMethodDecl>(CurGD.getDecl()) && in EmitCallAndReturnForThunk()
260 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CurGD.getDecl()); in EmitCallAndReturnForThunk()
344 void CodeGenFunction::EmitMustTailThunk(const CXXMethodDecl *MD, in EmitMustTailThunk()
499 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in maybeEmitThunkForVTable()
509 const CXXMethodDecl *MD = in EmitThunks()
[all …]
DCodeGenTypes.h39 class CXXMethodDecl; variable
252 const CGFunctionInfo &arrangeCXXMethodDeclaration(const CXXMethodDecl *MD);
253 const CGFunctionInfo &arrangeCXXStructorDeclaration(const CXXMethodDecl *MD,
272 const CGFunctionInfo &arrangeMSMemberPointerThunk(const CXXMethodDecl *MD);
280 const CXXMethodDecl *MD);
DCGCXX.cpp217 llvm::Function *CodeGenModule::codegenCXXStructor(const CXXMethodDecl *MD, in codegenCXXStructor()
243 const CXXMethodDecl *MD, StructorType Type, const CGFunctionInfo *FnInfo, in getAddrOfCXXStructor()
289 CodeGenFunction::BuildAppleKextVirtualCall(const CXXMethodDecl *MD, in BuildAppleKextVirtualCall()
314 const auto *MD = cast<CXXMethodDecl>(DD); in BuildAppleKextVirtualDestructorCall()
DCGCXXABI.h32 class CXXMethodDecl; variable
182 virtual llvm::Constant *EmitMemberFunctionPointer(const CXXMethodDecl *MD);
286 virtual void buildStructorSignature(const CXXMethodDecl *MD, StructorType T,
303 getThisArgumentTypeForMethod(const CXXMethodDecl *MD) { in getThisArgumentTypeForMethod()
558 virtual void emitCXXStructor(const CXXMethodDecl *MD, StructorType Type) = 0;
DCGClass.cpp110 assert(isa<CXXMethodDecl>(CurFuncDecl)); in LoadCXXThisAddress()
117 auto RD = cast<CXXMethodDecl>(CurFuncDecl)->getParent(); in LoadCXXThisAddress()
432 const CXXRecordDecl *RD = cast<CXXMethodDecl>(CurCodeDecl)->getParent(); in GetVTTParameter()
433 const CXXRecordDecl *Base = cast<CXXMethodDecl>(GD.getDecl())->getParent(); in GetVTTParameter()
483 cast<CXXMethodDecl>(CGF.CurCodeDecl)->getParent(); in Emit()
663 static bool isMemcpyEquivalentSpecialMember(const CXXMethodDecl *D) { in isMemcpyEquivalentSpecialMember()
1261 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(MCE->getCalleeDecl()); in getMemcpyableField()
1310 AssignmentMemcpyizer(CodeGenFunction &CGF, const CXXMethodDecl *AD, in AssignmentMemcpyizer()
1602 const CXXMethodDecl *AssignOp = cast<CXXMethodDecl>(CurGD.getDecl()); in emitImplicitAssignmentOperatorBody()
2475 for (const CXXMethodDecl *MD : RD->methods()) { in LeastDerivedClassWithSameLayout()
[all …]
DCGCXXABI.cpp137 llvm::Constant *CGCXXABI::EmitMemberFunctionPointer(const CXXMethodDecl *MD) { in EmitMemberFunctionPointer()
157 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CGF.CurGD.getDecl()); in buildThisParam()
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp429 if (const CXXMethodDecl *D = cast_or_null<CXXMethodDecl>(getDecl())) { in getExtraInvalidatedValues()
468 const CXXMethodDecl *MD = cast<CXXMethodDecl>(D); in getRuntimeDefinition()
491 const CXXMethodDecl *Result = MD->getCorrespondingMethodInClass(RD, true); in getRuntimeDefinition()
533 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CalleeCtx->getDecl()); in getInitialStackFrameContents()
604 auto *LambdaOperatorDecl = cast<CXXMethodDecl>(CalleeCtx->getDecl()); in getInitialStackFrameContents()
643 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CalleeCtx->getDecl()); in getInitialStackFrameContents()
966 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(DirectCallee)) in getSimpleCall()
997 const CXXMethodDecl *Ctor = cast<CXXMethodDecl>(CalleeCtx->getDecl()); in getCaller()
DExprEngineCXX.cpp49 assert(cast<CXXMethodDecl>(Call.getDecl())->isTrivial()); in performTrivialCopy()
50 assert(cast<CXXMethodDecl>(Call.getDecl())->getOverloadedOperator() == in performTrivialCopy()
129 const CXXMethodDecl *CurCtor = cast<CXXMethodDecl>(LCtx->getDecl()); in getRegionForConstructedObject()
271 const CXXMethodDecl *CurCtor = cast<CXXMethodDecl>(LCtx->getDecl()); in VisitCXXConstructExpr()
439 if (FD && !isa<CXXMethodDecl>(FD) && !FD->isVariadic()) { in VisitCXXNewExpr()
/external/clang/include/clang/Basic/
DABI.h175 class CXXMethodDecl; variable
191 const CXXMethodDecl *Method;
196 const CXXMethodDecl *Method = nullptr)
/external/clang/include/clang/CodeGen/
DCodeGenABITypes.h39 class CXXMethodDecl; variable
70 const CXXMethodDecl *MD);
/external/clang/lib/Sema/
DSemaDeclCXX.cpp152 const CXXMethodDecl *Method) { in CalledDecl()
514 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(New); in MergeCXXFunctionDecl()
620 CXXSpecialMember NewSM = getSpecialMember(cast<CXXMethodDecl>(New)), in MergeCXXFunctionDecl()
621 OldSM = getSpecialMember(cast<CXXMethodDecl>(Old)); in MergeCXXFunctionDecl()
804 const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(NewFD); in CheckConstexprFunctionDecl()
827 const CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(NewFD); in CheckConstexprFunctionDecl()
834 const CXXMethodDecl *WrittenVirtual = Method; in CheckConstexprFunctionDecl()
1878 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(D); in CheckOverrideControl()
1889 SmallVector<CXXMethodDecl *, 8> OverloadedMethods; in CheckOverrideControl()
1942 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(D); in DiagnoseAbsenceOfOverrideControl()
[all …]
DSemaLambda.cpp353 CXXMethodDecl *Sema::startLambdaDefinition(CXXRecordDecl *Class, in startLambdaDefinition()
386 CXXMethodDecl *Method in startLambdaDefinition()
387 = CXXMethodDecl::Create(Context, Class, EndLoc, in startLambdaDefinition()
436 CXXMethodDecl *CallOperator, in buildLambdaScope()
474 void Sema::addLambdaParameters(CXXMethodDecl *CallOperator, Scope *CurScope) { in addLambdaParameters()
884 CXXMethodDecl *Method = startLambdaDefinition(Class, Intro.Range, in ActOnStartOfLambdaDefinition()
1143 CXXMethodDecl *CallOperator) { in addFunctionPointerConversion()
1293 CXXMethodDecl *Invoke in addFunctionPointerConversion()
1294 = CXXMethodDecl::Create(S.Context, Class, Loc, in addFunctionPointerConversion()
1325 CXXMethodDecl *CallOperator) { in addBlockPointerConversion()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DVirtualCallChecker.cpp162 const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(CE->getDirectCallee()); in VisitCXXMemberCallExpr()
/external/clang/include/clang/Sema/
DTemplate.h430 Decl *VisitCXXMethodDecl(CXXMethodDecl *D,
491 bool InitMethodInstantiation(CXXMethodDecl *New, CXXMethodDecl *Tmpl);

12345