Home
last modified time | relevance | path

Searched refs:getMethodDecl (Results 1 – 25 of 60) sorted by relevance

123

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseEmplaceCheck.cpp72 if (Node.getMethodDecl()->isFunctionTemplateSpecialization()) in AST_MATCHER()
73 return Node.getNumArgs() == Node.getMethodDecl() in AST_MATCHER()
78 return Node.getNumArgs() == Node.getMethodDecl()->getNumParams(); in AST_MATCHER()
262 Call->getMethodDecl()->getName().str()); in check()
H A DLoopConvertUtils.cpp187 if (isa<CXXConversionDecl>(ME->getMethodDecl())) in digThroughConstructorsConversions()
411 const auto *MDecl = MemCall->getMethodDecl(); in isAliasDecl()
H A DLoopConvertCheck.cpp823 BeginCall->getMethodDecl()->getReturnType().getCanonicalType(); in isConvertible()
/llvm-project-15.0.7/clang/unittests/Tooling/RecursiveASTVisitorTests/
H A DCXXMemberCall.cpp19 Match(Call->getMethodDecl()->getQualifiedNameAsString(), in VisitCXXMemberCallExpr()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DInefficientVectorOperationCheck.cpp235 llvm::StringRef FieldName = ProtoAddFieldCall->getMethodDecl()->getName(); in check()
268 << AppendCall->getMethodDecl()->getDeclName(); in check()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/objc/
H A DSuperSelfCheck.cpp93 << Message->getMethodDecl(); in check()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.cpp38 isGetterOfRefCounted(memberCall->getMethodDecl()); in tryToFindPtrOrigin()
/llvm-project-15.0.7/clang/include/clang/Analysis/
H A DAnyCall.h79 : E(ME), D(ME->getMethodDecl()), K(ObjCMethod) {} in AnyCall()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp606 const ObjCMethodDecl *MD = ME->getMethodDecl(); in checkObjCMessageExpr()
692 const ObjCMethodDecl *MD = ME->getMethodDecl(); in VisitObjCMessageExpr()
H A DDynamicTypePropagation.cpp767 return Method ? Method : MessageExpr->getMethodDecl(); in findMethodDecl()
/llvm-project-15.0.7/clang/lib/Sema/
H A DScopeInfo.cpp197 if (const ObjCMethodDecl *MD = MsgE->getMethodDecl()) { in markSafeWeakUse()
H A DSemaAvailability.cpp688 if (ObjCMethodDecl *D = Msg->getMethodDecl()) { in VisitObjCMessageExpr()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DNotNullTerminatedResultCheck.cpp205 if (const CXXMethodDecl *DestMD = DestExpr->getMethodDecl()) in isStringDataAndLength()
209 if (const CXXMethodDecl *SrcMD = SrcExpr->getMethodDecl()) in isStringDataAndLength()
213 if (const CXXMethodDecl *LengthMD = LengthExpr->getMethodDecl()) in isStringDataAndLength()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DExprObjC.h1346 const ObjCMethodDecl *getMethodDecl() const { in getMethodDecl() function
1353 ObjCMethodDecl *getMethodDecl() { in getMethodDecl() function
1366 if (HasMethod) return getMethodDecl()->getMethodFamily(); in getMethodFamily()
/llvm-project-15.0.7/clang/lib/AST/
H A DExprObjC.cpp266 if (const ObjCMethodDecl *MD = getMethodDecl()) { in getCallReturnType()
H A DExprClassification.cpp393 cast<ObjCMessageExpr>(E)->getMethodDecl()) { in ClassifyInternal()
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp1277 OldMsg->getMethodDecl(), in RewritePropertyOrImplicitSetter()
1290 OldMsg->getMethodDecl(), in RewritePropertyOrImplicitSetter()
1306 OldMsg->getMethodDecl(), in RewritePropertyOrImplicitSetter()
1353 OldMsg->getMethodDecl(), in RewritePropertyOrImplicitGetter()
1366 OldMsg->getMethodDecl(), in RewritePropertyOrImplicitGetter()
1382 OldMsg->getMethodDecl(), in RewritePropertyOrImplicitGetter()
2651 if (ObjCMethodDecl *mDecl = Exp->getMethodDecl()) { in SynthMessageExpr()
2921 if (ObjCMethodDecl *OMD = Exp->getMethodDecl()) { in SynthMessageExpr()
2954 const ObjCMethodDecl *MD = Exp->getMethodDecl(); in SynthMessageExpr()
2977 Exp->getMethodDecl()); in SynthMessageExpr()
H A DRewriteModernObjC.cpp1462 OldMsg->getMethodDecl(), in RewritePropertyOrImplicitSetter()
1475 OldMsg->getMethodDecl(), in RewritePropertyOrImplicitSetter()
1491 OldMsg->getMethodDecl(), in RewritePropertyOrImplicitSetter()
1545 OldMsg->getMethodDecl(), in RewritePropertyOrImplicitGetter()
1558 OldMsg->getMethodDecl(), in RewritePropertyOrImplicitGetter()
1574 OldMsg->getMethodDecl(), in RewritePropertyOrImplicitGetter()
3224 if (ObjCMethodDecl *mDecl = Exp->getMethodDecl()) { in SynthMessageExpr()
3492 if (ObjCMethodDecl *OMD = Exp->getMethodDecl()) { in SynthMessageExpr()
3525 const ObjCMethodDecl *MD = Exp->getMethodDecl(); in SynthMessageExpr()
3548 Exp->getMethodDecl()); in SynthMessageExpr()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DRetainSummaryManager.cpp1126 return getMethodSummary(ME->getSelector(), Class, ME->getMethodDecl(), in getClassMethodSummary()
1150 const ObjCMethodDecl *Method = ME->getMethodDecl(); in getInstanceMethodSummary()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DFindTarget.cpp320 Outer.add(OME->getMethodDecl(), Flags); in add()
787 {E->getMethodDecl()}}); in refInStmt()
/llvm-project-15.0.7/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp28 if (!Msg || Msg->isImplicit() || !Msg->getMethodDecl()) in checkForLiteralCreation()
294 const ObjCMethodDecl *Method = Msg->getMethodDecl(); in rewriteToObjCSubscriptSyntax()
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexBody.cpp232 if (ObjCMethodDecl *MD = E->getMethodDecl()) { in VisitObjCMessageExpr()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCoroutine.cpp135 CE->getMethodDecl()->getType()->getAs<FunctionProtoType>()) in memberCallExpressionCanThrow()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DInitialization.h454 ObjCMethodDecl *getMethodDecl() const { return MethodDecl; } in getMethodDecl() function
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DSimplifyBooleanExprCheck.cpp128 dyn_cast<CXXConversionDecl>(MemCall->getMethodDecl())) { in needsStaticCast()

123