HomeSort by: relevance | last modified time | path
    Searched refs:CXXMethodDecl (Results 1 - 25 of 155) sorted by relevancy

1 2 3 4 5 6 7

  /src/external/apache2/llvm/dist/clang/include/clang/AST/
ASTLambda.h 27 inline bool isLambdaCallOperator(const CXXMethodDecl *MD) {
34 if (!DC || !isa<CXXMethodDecl>(DC)) return false;
35 return isLambdaCallOperator(cast<CXXMethodDecl>(DC));
38 inline bool isGenericLambdaCallOperatorSpecialization(const CXXMethodDecl *MD) {
64 dyn_cast<CXXMethodDecl>(DC));
69 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(DC);
MangleNumberingContext.h 23 class CXXMethodDecl;
37 virtual unsigned getManglingNumber(const CXXMethodDecl *CallOperator) = 0;
59 virtual unsigned getDeviceManglingNumber(const CXXMethodDecl *) { return 0; }
VTableBuilder.h 71 static VTableComponent MakeFunction(const CXXMethodDecl *MD) {
89 static VTableComponent MakeUnusedFunction(const CXXMethodDecl *MD) {
124 const CXXMethodDecl *getFunctionDecl() const {
128 return reinterpret_cast<CXXMethodDecl *>(getPointer());
136 const CXXMethodDecl *getUnusedFunctionDecl() const {
138 return reinterpret_cast<CXXMethodDecl *>(getPointer());
330 typedef llvm::DenseMap<const CXXMethodDecl *, ThunkInfoVectorTy> ThunksMapTy;
343 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()->getCanonicalDecl());
360 static bool hasVtableSlot(const CXXMethodDecl *MD)
    [all...]
CXXInheritance.h 232 CXXMethodDecl *Method = nullptr;
245 UniqueVirtualMethod(CXXMethodDecl *Method, unsigned Subobject,
358 : public llvm::MapVector<const CXXMethodDecl *, OverridingMethods> {};
ASTConsumer.h 18 class CXXMethodDecl;
DeclCXX.h 65 class CXXMethodDecl;
626 using method_iterator = specific_decl_iterator<CXXMethodDecl>;
628 llvm::iterator_range<specific_decl_iterator<CXXMethodDecl>>;
1008 CXXMethodDecl *getLambdaCallOperator() const;
1021 CXXMethodDecl *getLambdaStaticInvoker() const;
1022 CXXMethodDecl *getLambdaStaticInvoker(CallingConv CC) const;
1670 void finishedDefaultedOrDeletedMember(CXXMethodDecl *MD);
1672 void setTrivialForCallFlags(CXXMethodDecl *MD);
1946 class CXXMethodDecl : public FunctionDecl {
1950 CXXMethodDecl(Kind DK, ASTContext &C, CXXRecordDecl *RD
    [all...]
  /src/external/apache2/llvm/dist/clang/examples/CallSuperAttribute/
CallSuperAttrInfo.cpp 38 llvm::SmallPtrSet<const CXXMethodDecl *, 16> MarkedMethods;
39 bool isMarkedAsCallSuper(const CXXMethodDecl *D) {
48 llvm::SmallPtrSet<const CXXMethodDecl *, 16> &MustCalledMethods)
51 const CXXMethodDecl *Callee = nullptr;
67 llvm::SmallPtrSet<const CXXMethodDecl *, 16> &MustCalledMethods;
80 bool VisitCXXMethodDecl(CXXMethodDecl *MethodDecl) {
83 llvm::SmallPtrSet<const CXXMethodDecl *, 16> OverriddenMarkedMethods;
129 const CXXMethodDecl *MethodDecl) {
167 const auto *TheMethod = dyn_cast_or_null<CXXMethodDecl>(D);
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/
PtrTypesSemantics.h 16 class CXXMethodDecl;
54 llvm::Optional<bool> isGetterOfRefCounted(const clang::CXXMethodDecl *Method);
ASTUtils.h 23 class CXXMethodDecl;
PtrTypesSemantics.cpp 28 for (const CXXMethodDecl *MD : R->methods()) {
138 Optional<bool> isGetterOfRefCounted(const CXXMethodDecl *M) {
141 if (isa<CXXMethodDecl>(M)) {
  /src/external/apache2/llvm/dist/clang/include/clang/Basic/
Thunk.h 23 class CXXMethodDecl;
168 const CXXMethodDecl *Method;
173 const CXXMethodDecl *Method = nullptr)
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
LoopWidening.cpp 87 const CXXMethodDecl *CXXMD = dyn_cast<CXXMethodDecl>(STC->getDecl());
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
USRFindingAction.cpp 71 if (const auto *MethodDecl = dyn_cast<CXXMethodDecl>(FoundDecl)) {
107 bool VisitCXXMethodDecl(const CXXMethodDecl *MethodDecl) {
181 void addUSRsOfOverridenFunctions(const CXXMethodDecl *MethodDecl) {
188 void addUSRsOfInstantiatedMethods(const CXXMethodDecl *MethodDecl) {
202 bool checkIfOverriddenFunctionAscends(const CXXMethodDecl *MethodDecl) {
214 std::vector<const CXXMethodDecl *> OverriddenMethods;
215 std::vector<const CXXMethodDecl *> InstantiatedMethods;
  /src/external/apache2/llvm/dist/clang/lib/AST/
VTableBuilder.cpp 66 const CXXMethodDecl *Method;
101 typedef std::pair<const CXXMethodDecl *, CharUnits> MethodBaseOffsetPairTy;
140 OverriderInfo getOverrider(const CXXMethodDecl *MD,
180 const CXXMethodDecl *MD = Overrider.first;
271 const CXXMethodDecl *DerivedMD,
272 const CXXMethodDecl *BaseMD) {
444 typedef std::pair<const CXXMethodDecl *, CharUnits> MethodAndOffsetPairTy;
452 static bool MethodsCanShareVCallOffset(const CXXMethodDecl *LHS,
453 const CXXMethodDecl *RHS);
459 bool AddVCallOffset(const CXXMethodDecl *MD, CharUnits OffsetOffset)
    [all...]
DeclCXX.cpp 713 if (const auto *Method = dyn_cast<CXXMethodDecl>(D)) {
842 if (const auto *Method = dyn_cast<CXXMethodDecl>(D)) {
1386 void CXXRecordDecl::finishedDefaultedOrDeletedMember(CXXMethodDecl *D) {
1443 void CXXRecordDecl::setTrivialForCallFlags(CXXMethodDecl *D) {
1501 CXXMethodDecl *CXXRecordDecl::getLambdaCallOperator() const {
1508 return cast<CXXMethodDecl>(CallOpTmpl->getTemplatedDecl());
1510 return cast<CXXMethodDecl>(CallOp);
1513 CXXMethodDecl* CXXRecordDecl::getLambdaStaticInvoker() const {
1514 CXXMethodDecl *CallOp = getLambdaCallOperator();
1527 static CXXMethodDecl *getInvokerAsMethod(NamedDecl *ND)
    [all...]
Mangle.cpp 225 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD))
472 if (!(isa<CXXRecordDecl>(D) || isa<CXXMethodDecl>(D)))
482 auto hasDefaultCXXMethodCC = [](ASTContext &C, const CXXMethodDecl *MD) {
507 } else if (const auto *MD = dyn_cast_or_null<CXXMethodDecl>(ND)) {
565 std::string getMangledThunk(const CXXMethodDecl *MD, const ThunkInfo &T) {
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CodeGenTypes.h 35 class CXXMethodDecl;
128 CanQualType DeriveThisType(const CXXRecordDecl *RD, const CXXMethodDecl *MD);
156 /// given a CXXMethodDecl. If the method to has an incomplete return type,
239 const CGFunctionInfo &arrangeCXXMethodDeclaration(const CXXMethodDecl *MD);
253 arrangeUnprototypedMustTailThunk(const CXXMethodDecl *MD);
258 const CXXMethodDecl *MD);
CGVTables.cpp 160 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl());
244 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl());
295 assert(isa<CXXMethodDecl>(CurGD.getDecl()) &&
297 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CurGD.getDecl());
474 static bool shouldEmitVTableThunk(CodeGenModule &CGM, const CXXMethodDecl *MD,
495 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl())
    [all...]
CGCXX.cpp 217 SetLLVMFunctionAttributesForDefinition(cast<CXXMethodDecl>(GD.getDecl()), Fn);
224 auto *MD = cast<CXXMethodDecl>(GD.getDecl());
276 CodeGenFunction::BuildAppleKextVirtualCall(const CXXMethodDecl *MD,
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
VirtualCallChecker.cpp 79 const CXXMethodDecl *MD =
80 dyn_cast_or_null<CXXMethodDecl>(CE->getDirectCallee());
104 const CXXMethodDecl *MD = dyn_cast_or_null<CXXMethodDecl>(Call.getDecl());
168 const auto *MD = dyn_cast_or_null<CXXMethodDecl>(LCtx->getDecl());
ReturnValueChecker.cpp 62 if (const auto *MD = dyn_cast<CXXMethodDecl>(Call.getDecl()))
CXXSelfAssignmentChecker.cpp 42 const auto *MD = dyn_cast<CXXMethodDecl>(LCtx->getDecl());
MoveChecker.cpp 221 bool isStateResetMethod(const CXXMethodDecl *MethodDec) const;
222 bool isMoveSafeMethod(const CXXMethodDecl *MethodDec) const;
445 const auto MethodDecl = dyn_cast_or_null<CXXMethodDecl>(AFC->getDecl());
493 bool MoveChecker::isMoveSafeMethod(const CXXMethodDecl *MethodDec) const {
509 bool MoveChecker::isStateResetMethod(const CXXMethodDecl *MethodDec) const {
533 auto *MethodDec = dyn_cast_or_null<CXXMethodDecl>(CtxDec);
631 const auto MethodDecl = dyn_cast_or_null<CXXMethodDecl>(IC->getDecl());
  /src/external/apache2/llvm/dist/clang/lib/AST/Interp/
Function.cpp 45 if (auto *M = dyn_cast<CXXMethodDecl>(F))
  /src/external/apache2/llvm/dist/clang/include/clang/CodeGen/
CodeGenABITypes.h 47 class CXXMethodDecl;
83 const CXXMethodDecl *MD);

Completed in 83 milliseconds

1 2 3 4 5 6 7