Home
last modified time | relevance | path

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

12345678

/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DASTLambda.h27 inline bool isLambdaCallOperator(const CXXMethodDecl *MD) { in isLambdaCallOperator()
34 if (!DC || !isa<CXXMethodDecl>(DC)) return false; in isLambdaCallOperator()
35 return isLambdaCallOperator(cast<CXXMethodDecl>(DC)); in isLambdaCallOperator()
40 cast<CXXMethodDecl>(DC)->isExplicitObjectMemberFunction(); in isLambdaCallWithExplicitObjectParameter()
49 !cast<CXXMethodDecl>(DC)->getType().isNull() && in isLambdaCallWithImplicitObjectParameter()
50 !cast<CXXMethodDecl>(DC)->isExplicitObjectMemberFunction(); in isLambdaCallWithImplicitObjectParameter()
53 inline bool isGenericLambdaCallOperatorSpecialization(const CXXMethodDecl *MD) { in isGenericLambdaCallOperatorSpecialization()
79 dyn_cast<CXXMethodDecl>(DC)); in isGenericLambdaCallOperatorSpecialization()
84 const auto *MD = dyn_cast<CXXMethodDecl>(DC); in isGenericLambdaCallOperatorOrStaticInvokerSpecialization()
H A DMangleNumberingContext.h23 class CXXMethodDecl; variable
38 virtual unsigned getManglingNumber(const CXXMethodDecl *CallOperator) = 0;
60 virtual unsigned getDeviceManglingNumber(const CXXMethodDecl *) { return 0; } in getDeviceManglingNumber() argument
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()
330 typedef llvm::DenseMap<const CXXMethodDecl *, ThunkInfoVectorTy> ThunksMapTy;
343 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()->getCanonicalDecl()); in getThunkInfo()
360 static bool hasVtableSlot(const CXXMethodDecl *MD);
H A DDeclCXX.h65 class CXXMethodDecl; variable
2053 class CXXMethodDecl : public FunctionDecl {
2070 static CXXMethodDecl *
2109 CXXMethodDecl *CD = const_cast<CXXMethodDecl*>(this)->getCanonicalDecl(); in isVirtual()
2156 CXXMethodDecl *getMostRecentDecl() { in getMostRecentDecl()
2157 return cast<CXXMethodDecl>( in getMostRecentDecl()
2249 CXXMethodDecl *
2253 const CXXMethodDecl *
2256 return const_cast<CXXMethodDecl *>(this)
2264 const CXXMethodDecl *
[all …]
H A DCXXInheritance.h232 CXXMethodDecl *Method = nullptr;
245 UniqueVirtualMethod(CXXMethodDecl *Method, unsigned Subobject, in UniqueVirtualMethod()
358 : public llvm::MapVector<const CXXMethodDecl *, OverridingMethods> {};
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DVTableBuilder.cpp67 const CXXMethodDecl *Method;
1119 const CXXMethodDecl *MD = MI.first; in ComputeThisAdjustments()
1169 const CXXMethodDecl *MD; in ComputeThisAdjustments()
1340 const CXXMethodDecl *MD, in OverridesIndirectMethodInBases()
1421 static const CXXMethodDecl *
1566 [](const CXXMethodDecl *A, const CXXMethodDecl *B) { in AddMethods()
1691 const CXXMethodDecl *MD = I.first; in LayoutPrimaryAndSecondaryVTables()
2115 const CXXMethodDecl *MD = I.first; in dumpLayout()
2554 const CXXMethodDecl *MD = I.first; in LayoutVFTable()
2998 const CXXMethodDecl *OverriddenMD = in AddMethods()
[all …]
H A DDeclCXX.cpp1620 return cast<CXXMethodDecl>(ND); in getInvokerAsMethod()
2181 void CXXMethodDecl::anchor() {} in anchor()
2204 CXXMethodDecl *
2235 CXXMethodDecl *
2270 CXXMethodDecl *
2277 return new (C, RD) CXXMethodDecl( in Create()
2282 CXXMethodDecl *CXXMethodDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
2289 CXXMethodDecl *CXXMethodDecl::getDevirtualizedMethod(const Expr *Base, in getDevirtualizedMethod()
2505 void CXXMethodDecl::addOverriddenMethod(const CXXMethodDecl *MD) { in addOverriddenMethod()
2514 CXXMethodDecl::method_iterator CXXMethodDecl::begin_overridden_methods() const { in begin_overridden_methods()
[all …]
H A DItaniumCXXABI.cpp143 unsigned getManglingNumber(const CXXMethodDecl *CallOperator) override { in getManglingNumber()
190 llvm::DenseMap<const CXXMethodDecl *, unsigned> ManglingNumbers;
197 unsigned getManglingNumber(const CXXMethodDecl *CallOperator) override { in getManglingNumber()
208 unsigned getDeviceManglingNumber(const CXXMethodDecl *CallOperator) override { in getDeviceManglingNumber()
H A DMangle.cpp227 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD)) in mangleName()
480 if (!(isa<CXXRecordDecl>(D) || isa<CXXMethodDecl>(D))) in getAllManglings()
490 auto hasDefaultCXXMethodCC = [](ASTContext &C, const CXXMethodDecl *MD) { in getAllManglings()
515 } else if (const auto *MD = dyn_cast_or_null<CXXMethodDecl>(ND)) { in getAllManglings()
573 std::string getMangledThunk(const CXXMethodDecl *MD, const ThunkInfo &T) { in getMangledThunk()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DChromiumCheckModel.cpp19 bool isCheckLikeMethod(llvm::SmallDenseSet<const CXXMethodDecl *> &CheckDecls, in isCheckLikeMethod()
20 const CXXMethodDecl &D) { in isCheckLikeMethod()
45 for (const CXXMethodDecl *M : ParentClass->methods()) in isCheckLikeMethod()
59 if (const auto *M = dyn_cast<CXXMethodDecl>(Call->getDirectCallee())) { in transfer()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp71 if (const auto *MethodDecl = dyn_cast<CXXMethodDecl>(FoundDecl)) { in Find()
107 bool VisitCXXMethodDecl(const CXXMethodDecl *MethodDecl) { in VisitCXXMethodDecl()
179 void addUSRsOfOverridenFunctions(const CXXMethodDecl *MethodDecl) { in addUSRsOfOverridenFunctions()
186 void addUSRsOfInstantiatedMethods(const CXXMethodDecl *MethodDecl) { in addUSRsOfInstantiatedMethods()
200 bool checkIfOverriddenFunctionAscends(const CXXMethodDecl *MethodDecl) { in checkIfOverriddenFunctionAscends()
212 std::vector<const CXXMethodDecl *> OverriddenMethods;
213 std::vector<const CXXMethodDecl *> InstantiatedMethods;
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DVirtualCallChecker.cpp79 const CXXMethodDecl *MD = in REGISTER_MAP_WITH_PROGRAMSTATE()
80 dyn_cast_or_null<CXXMethodDecl>(CE->getDirectCallee()); in REGISTER_MAP_WITH_PROGRAMSTATE()
104 const CXXMethodDecl *MD = dyn_cast_or_null<CXXMethodDecl>(Call.getDecl()); in checkPreCall()
168 const auto *MD = dyn_cast_or_null<CXXMethodDecl>(LCtx->getDecl()); in registerCtorDtorCallInState()
H A DMoveChecker.cpp221 bool isStateResetMethod(const CXXMethodDecl *MethodDec) const;
222 bool isMoveSafeMethod(const CXXMethodDecl *MethodDec) const;
446 const auto MethodDecl = dyn_cast_or_null<CXXMethodDecl>(AFC->getDecl()); in checkPostCall()
494 bool MoveChecker::isMoveSafeMethod(const CXXMethodDecl *MethodDec) const { in isMoveSafeMethod()
510 bool MoveChecker::isStateResetMethod(const CXXMethodDecl *MethodDec) const { in isStateResetMethod()
534 auto *MethodDec = dyn_cast_or_null<CXXMethodDecl>(CtxDec); in isInMoveSafeContext()
629 const auto MethodDecl = dyn_cast_or_null<CXXMethodDecl>(IC->getDecl()); in checkPreCall()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.h34 class CXXMethodDecl; variable
120 CanQualType DeriveThisType(const CXXRecordDecl *RD, const CXXMethodDecl *MD);
231 const CGFunctionInfo &arrangeCXXMethodDeclaration(const CXXMethodDecl *MD);
245 arrangeUnprototypedMustTailThunk(const CXXMethodDecl *MD);
250 const CXXMethodDecl *MD);
H A DCGVTables.cpp163 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in GenerateVarArgsThunk()
249 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in StartThunk()
300 assert(isa<CXXMethodDecl>(CurGD.getDecl()) && in EmitCallAndReturnForThunk()
302 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CurGD.getDecl()); in EmitCallAndReturnForThunk()
494 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in maybeEmitThunk()
602 const CXXMethodDecl *MD = in EmitThunks()
603 cast<CXXMethodDecl>(GD.getDecl())->getCanonicalDecl(); in EmitThunks()
755 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in addVTableComponent()
796 if (cast<CXXMethodDecl>(GD.getDecl())->isPureVirtual()) { in addVTableComponent()
803 } else if (cast<CXXMethodDecl>(GD.getDecl())->isDeleted()) { in addVTableComponent()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.h17 class CXXMethodDecl; variable
54 std::optional<bool> isGetterOfRefCounted(const clang::CXXMethodDecl* Method);
H A DPtrTypesSemantics.cpp26 for (const CXXMethodDecl *MD : R->methods()) { in hasPublicMethodInBaseClass()
146 std::optional<bool> isGetterOfRefCounted(const CXXMethodDecl* M) in isGetterOfRefCounted()
150 if (isa<CXXMethodDecl>(M)) { in isGetterOfRefCounted()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DThunk.h23 class CXXMethodDecl; variable
168 const CXXMethodDecl *Method;
173 const CXXMethodDecl *Method = nullptr)
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DContext.cpp237 const CXXMethodDecl *
240 const CXXMethodDecl *InitialFunction) const { in getOverridingFunction()
243 const CXXMethodDecl *FoundFunction = InitialFunction; in getOverridingFunction()
245 const CXXMethodDecl *Overrider = in getOverridingFunction()
H A DFunction.h144 if (const auto *MD = dyn_cast<CXXMethodDecl>(F)) in getParentDecl()
152 if (const auto *MD = dyn_cast<CXXMethodDecl>(F)) in isLambdaStaticInvoker()
160 if (const auto *MD = dyn_cast<CXXMethodDecl>(F)) in isLambdaCallOperator()
H A DContext.h76 const CXXMethodDecl *
79 const CXXMethodDecl *InitialFunction) const;
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DLoopWidening.cpp88 const CXXMethodDecl *CXXMD = dyn_cast<CXXMethodDecl>(STC->getDecl()); in getWidenedLoopState()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaLambda.cpp390 CXXMethodDecl *Method) { in DiagnoseInvalidExplicitObjectParameterInLambda()
414 CXXRecordDecl *Class, CXXMethodDecl *Method, in handleLambdaNumbering()
943 CXXMethodDecl *Method = CXXMethodDecl::Create( in CreateLambdaCallOperator()
956 CXXMethodDecl *CallOperator, CXXRecordDecl *Class, in AddTemplateParametersToLambdaCallOperator()
967 CXXMethodDecl *Method, SourceLocation LambdaLoc, in CompleteLambdaCallOperator()
1353 CXXMethodDecl *Method = LSI->CallOperator; in ActOnStartOfLambdaDefinition()
1742 CXXMethodDecl *Invoke = CXXMethodDecl::Create( in addFunctionPointerConversion()
2018 CXXMethodDecl *CallOperator; in BuildLambdaExpr()
2234 CXXMethodDecl *CallOperator in BuildBlockForLambdaConversion()
2235 = cast<CXXMethodDecl>( in BuildBlockForLambdaConversion()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCodeGenABITypes.h44 class CXXMethodDecl; variable
75 const CXXMethodDecl *MD);
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp58 if (isa<BlockDecl>(Parent) || isa<CXXMethodDecl>(Parent)) in WriteNamedDecl()
68 if (FD->isInlined() && !isa<CXXMethodDecl>(FD) && in WriteNamedDecl()
71 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD)) { in WriteNamedDecl()

12345678