Home
last modified time | relevance | path

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

123456

/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DVTableBuilder.cpp67 const CXXMethodDecl *Method;
1105 const CXXMethodDecl *MD = MI.first; in ComputeThisAdjustments()
1155 const CXXMethodDecl *MD; in ComputeThisAdjustments()
1326 const CXXMethodDecl *MD, in OverridesIndirectMethodInBases()
1407 static const CXXMethodDecl *
1669 const CXXMethodDecl *MD = I.first; in LayoutPrimaryAndSecondaryVTables()
2095 const CXXMethodDecl *MD = I.first; in dumpLayout()
2503 const CXXMethodDecl *MD = I.first; in LayoutVFTable()
2947 const CXXMethodDecl *OverriddenMD = in AddMethods()
3180 const CXXMethodDecl *MD = I.first; in dumpLayout()
[all …]
H A DDeclCXX.cpp1376 return cast<CXXMethodDecl>(CallOp); in getLambdaCallOperator()
1870 void CXXMethodDecl::anchor() {} in anchor()
1872 bool CXXMethodDecl::isStatic() const { in isStatic()
1893 CXXMethodDecl *
1934 CXXMethodDecl *
1946 CXXMethodDecl *CXXMethodDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
1952 CXXMethodDecl *CXXMethodDecl::getDevirtualizedMethod(const Expr *Base, in getDevirtualizedMethod()
1982 CXXMethodDecl *DevirtualizedMethod = in getDevirtualizedMethod()
2145 void CXXMethodDecl::addOverriddenMethod(const CXXMethodDecl *MD) { in addOverriddenMethod()
2154 CXXMethodDecl::method_iterator CXXMethodDecl::begin_overridden_methods() const { in begin_overridden_methods()
[all …]
H A DCXXInheritance.cpp638 const CXXMethodDecl *CanonOM = OM->first->getCanonicalDecl(); in Collect()
649 CXXMethodDecl *CanonM = M->getCanonicalDecl(); in Collect()
651 llvm::iterator_range<CXXMethodDecl::method_iterator>; in Collect()
675 for (const CXXMethodDecl *OM : Stack.pop_back_val()) { in Collect()
676 const CXXMethodDecl *CanonOM = OM->getCanonicalDecl(); in Collect()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A 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()
H A DVTableBuilder.h71 static VTableComponent MakeFunction(const CXXMethodDecl *MD) { in MakeFunction()
89 static VTableComponent MakeUnusedFunction(const CXXMethodDecl *MD) { in MakeUnusedFunction()
124 const CXXMethodDecl *getFunctionDecl() const { in getFunctionDecl()
128 return reinterpret_cast<CXXMethodDecl *>(getPointer()); in getFunctionDecl()
136 const CXXMethodDecl *getUnusedFunctionDecl() const { in getUnusedFunctionDecl()
138 return reinterpret_cast<CXXMethodDecl *>(getPointer()); in getUnusedFunctionDecl()
318 typedef llvm::DenseMap<const CXXMethodDecl *, ThunkInfoVectorTy> ThunksMapTy;
331 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()->getCanonicalDecl()); in getThunkInfo()
H A DDeclCXX.h66 class CXXMethodDecl; variable
1213 CXXMethodDecl *getLambdaCallOperator() const;
2041 class CXXMethodDecl : public FunctionDecl {
2087 CXXMethodDecl *CD = const_cast<CXXMethodDecl*>(this)->getCanonicalDecl();
2127 CXXMethodDecl *getCanonicalDecl() override {
2134 CXXMethodDecl *getMostRecentDecl() {
2135 return cast<CXXMethodDecl>(
2223 CXXMethodDecl *
2227 const CXXMethodDecl *
2230 return const_cast<CXXMethodDecl *>(this)
[all …]
H A DMangleNumberingContext.h24 class CXXMethodDecl; variable
38 virtual unsigned getManglingNumber(const CXXMethodDecl *CallOperator) = 0;
H A DCXXInheritance.h244 CXXMethodDecl *Method = nullptr;
257 UniqueVirtualMethod(CXXMethodDecl *Method, unsigned Subobject, in UniqueVirtualMethod()
370 : public llvm::MapVector<const CXXMethodDecl *, OverridingMethods> {};
H A DMangle.h32 class CXXMethodDecl; variable
102 virtual void mangleThunk(const CXXMethodDecl *MD,
205 virtual void mangleVirtualMemPtrThunk(const CXXMethodDecl *MD,
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp70 if (const auto *MethodDecl = dyn_cast<CXXMethodDecl>(FoundDecl)) { in Find()
90 bool VisitCXXMethodDecl(const CXXMethodDecl *MethodDecl) { in VisitCXXMethodDecl()
138 void addUSRsOfOverridenFunctions(const CXXMethodDecl *MethodDecl) { in addUSRsOfOverridenFunctions()
145 void addUSRsOfInstantiatedMethods(const CXXMethodDecl *MethodDecl) { in addUSRsOfInstantiatedMethods()
159 bool checkIfOverriddenFunctionAscends(const CXXMethodDecl *MethodDecl) { in checkIfOverriddenFunctionAscends()
171 std::vector<const CXXMethodDecl *> OverriddenMethods;
172 std::vector<const CXXMethodDecl *> InstantiatedMethods;
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DVirtualCallChecker.cpp105 const auto *MD = dyn_cast<CXXMethodDecl>(LCtx->getDecl()); in REGISTER_MAP_WITH_PROGRAMSTATE()
154 const CXXMethodDecl *MD = in isVirtualCall()
155 dyn_cast_or_null<CXXMethodDecl>(CE->getDirectCallee()); in isVirtualCall()
179 const CXXMethodDecl *MD = dyn_cast_or_null<CXXMethodDecl>(Call.getDecl()); in checkPreCall()
222 const auto *MD = dyn_cast_or_null<CXXMethodDecl>(LCtx->getDecl()); in registerCtorDtorCallInState()
H A DMoveChecker.cpp216 bool isStateResetMethod(const CXXMethodDecl *MethodDec) const;
217 bool isMoveSafeMethod(const CXXMethodDecl *MethodDec) const;
432 const auto MethodDecl = dyn_cast_or_null<CXXMethodDecl>(AFC->getDecl()); in checkPostCall()
480 bool MoveChecker::isMoveSafeMethod(const CXXMethodDecl *MethodDec) const { in isMoveSafeMethod()
496 bool MoveChecker::isStateResetMethod(const CXXMethodDecl *MethodDec) const { in isStateResetMethod()
520 auto *MethodDec = dyn_cast_or_null<CXXMethodDecl>(CtxDec); in isInMoveSafeContext()
618 const auto MethodDecl = dyn_cast_or_null<CXXMethodDecl>(IC->getDecl()); in checkPreCall()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGVTables.cpp160 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in GenerateVarArgsThunk()
233 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in StartThunk()
285 assert(isa<CXXMethodDecl>(CurGD.getDecl()) && in EmitCallAndReturnForThunk()
287 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CurGD.getDecl()); in EmitCallAndReturnForThunk()
477 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in maybeEmitThunk()
572 const CXXMethodDecl *MD = in EmitThunks()
573 cast<CXXMethodDecl>(GD.getDecl())->getCanonicalDecl(); in EmitThunks()
637 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in addVTableComponent()
661 if (cast<CXXMethodDecl>(GD.getDecl())->isPure()) { in addVTableComponent()
668 } else if (cast<CXXMethodDecl>(GD.getDecl())->isDeleted()) { in addVTableComponent()
[all …]
H A DCodeGenTypes.h36 class CXXMethodDecl; variable
301 const CGFunctionInfo &arrangeCXXMethodDeclaration(const CXXMethodDecl *MD);
302 const CGFunctionInfo &arrangeCXXStructorDeclaration(const CXXMethodDecl *MD,
316 arrangeUnprototypedMustTailThunk(const CXXMethodDecl *MD);
321 const CXXMethodDecl *MD);
H A DCGCXXABI.h32 class CXXMethodDecl; variable
194 virtual llvm::Constant *EmitMemberFunctionPointer(const CXXMethodDecl *MD);
313 buildStructorSignature(const CXXMethodDecl *MD, StructorType T,
338 getThisArgumentTypeForMethod(const CXXMethodDecl *MD) { in getThisArgumentTypeForMethod()
592 virtual void emitCXXStructor(const CXXMethodDecl *MD, StructorType Type) = 0;
H A DCGCXX.cpp207 llvm::Function *CodeGenModule::codegenCXXStructor(const CXXMethodDecl *MD, in codegenCXXStructor()
232 const CXXMethodDecl *MD, StructorType Type, const CGFunctionInfo *FnInfo, in getAddrOfCXXStructor()
287 CodeGenFunction::BuildAppleKextVirtualCall(const CXXMethodDecl *MD, in BuildAppleKextVirtualCall()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DABI.h175 class CXXMethodDecl; variable
191 const CXXMethodDecl *Method;
196 const CXXMethodDecl *Method = nullptr)
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DCodegenNameGenerator.cpp103 if (!(isa<CXXRecordDecl>(D) || isa<CXXMethodDecl>(D))) in getAllManglings()
113 auto hasDefaultCXXMethodCC = [](ASTContext &C, const CXXMethodDecl *MD) { in getAllManglings()
138 } else if (const auto *MD = dyn_cast_or_null<CXXMethodDecl>(ND)) { in getAllManglings()
196 std::string getMangledThunk(const CXXMethodDecl *MD, const ThunkInfo &T) { in getMangledThunk()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/CodeGen/
H A DCodeGenABITypes.h41 class CXXMethodDecl; variable
67 const CXXMethodDecl *MD);
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DLoopWidening.cpp86 const CXXMethodDecl *CXXMD = dyn_cast<CXXMethodDecl>(STC->getDecl()); in getWidenedLoopState()
H A DCallEvent.cpp673 if (const auto *D = cast_or_null<CXXMethodDecl>(getDecl())) { in getExtraInvalidatedValues()
716 const auto *MD = cast<CXXMethodDecl>(D); in getRuntimeDefinition()
739 const CXXMethodDecl *Result = MD->getCorrespondingMethodInClass(RD, true); in getRuntimeDefinition()
781 const auto *MD = cast<CXXMethodDecl>(CalleeCtx->getDecl()); in getInitialStackFrameContents()
798 const CXXMethodDecl *StaticMD = cast<CXXMethodDecl>(getDecl()); in getInitialStackFrameContents()
856 auto *LambdaOperatorDecl = cast<CXXMethodDecl>(CalleeCtx->getDecl()); in getInitialStackFrameContents()
899 const auto *MD = cast<CXXMethodDecl>(CalleeCtx->getDecl()); in getInitialStackFrameContents()
1349 if (const auto *MD = dyn_cast<CXXMethodDecl>(DirectCallee)) in getSimpleCall()
1380 const auto *Ctor = cast<CXXMethodDecl>(CalleeCtx->getDecl()); in getCaller()
H A DExprEngineCXX.cpp53 assert(cast<CXXMethodDecl>(Call.getDecl())->isTrivial()); in performTrivialCopy()
54 assert(cast<CXXMethodDecl>(Call.getDecl())->getOverloadedOperator() == in performTrivialCopy()
57 ThisRD = cast<CXXMethodDecl>(Call.getDecl())->getParent(); in performTrivialCopy()
142 const CXXMethodDecl *CurCtor = cast<CXXMethodDecl>(LCtx->getDecl()); in prepareForObjectConstruction()
465 const CXXMethodDecl *CurCtor = cast<CXXMethodDecl>(LCtx->getDecl()); in VisitCXXConstructExpr()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaDeclCXX.cpp514 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(New); in MergeCXXFunctionDecl()
1596 const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(NewFD); in CheckConstexprFunctionDecl()
1619 const CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(NewFD); in CheckConstexprFunctionDecl()
2753 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(D); in CheckOverrideControl()
2816 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(D); in DiagnoseAbsenceOfOverrideControl()
5708 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(Member); in checkClassLevelDLLAttribute()
7759 if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(D)) { in operator ()()
7823 if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(ND)) in FindHiddenVirtualMethods()
14616 if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(Fn)) { in SetDeclDeleted()
14646 CXXMethodDecl *MD = dyn_cast_or_null<CXXMethodDecl>(Dcl); in SetDeclDefaulted()
[all …]
H A DSemaLambda.cpp375 CXXMethodDecl *Sema::startLambdaDefinition(CXXRecordDecl *Class, in startLambdaDefinition()
409 CXXMethodDecl *Method in startLambdaDefinition()
410 = CXXMethodDecl::Create(Context, Class, EndLoc, in startLambdaDefinition()
458 CXXMethodDecl *CallOperator, in buildLambdaScope()
498 CXXMethodDecl *CallOperator, Scope *CurScope) { in addLambdaParameters()
910 CXXMethodDecl *Method = in ActOnStartOfLambdaDefinition()
1344 CXXMethodDecl *Invoke = CXXMethodDecl::Create( in addFunctionPointerConversion()
1373 CXXMethodDecl *CallOperator) { in addBlockPointerConversion()
1510 CXXMethodDecl *CallOperator; in BuildLambdaExpr()
1715 CXXMethodDecl *CallOperator in BuildBlockForLambdaConversion()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DTemplate.h33 class CXXMethodDecl; variable
477 Decl *VisitCXXMethodDecl(CXXMethodDecl *D,
535 bool InitMethodInstantiation(CXXMethodDecl *New, CXXMethodDecl *Tmpl);

123456