Home
last modified time | relevance | path

Searched defs:MethodDecl (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project-15.0.7/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp71 if (const auto *MethodDecl = dyn_cast<CXXMethodDecl>(FoundDecl)) { in Find() local
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()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cert/
H A DPostfixOperatorCheck.cpp31 if (const auto *MethodDecl = dyn_cast<CXXMethodDecl>(FuncDecl)) in check() local
/llvm-project-15.0.7/clang/examples/CallSuperAttribute/
H A DCallSuperAttrInfo.cpp80 bool VisitCXXMethodDecl(CXXMethodDecl *MethodDecl) { in VisitCXXMethodDecl()
129 const CXXMethodDecl *MethodDecl) { in lateDiagAppertainsToDecl()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/
H A DAvoidNSObjectNewCheck.cpp43 for (const auto *MethodDecl : ClassDecl->instance_methods()) { in isInitMethodAvailable() local
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DAssertSideEffectCheck.cpp65 else if (const auto *MethodDecl = dyn_cast<CXXMethodDecl>(FuncDecl)) in AST_MATCHER_P2() local
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DUnnecessaryCopyInitialization.cpp86 const auto MethodDecl = in AST_MATCHER_FUNCTION_P() local
213 const auto *MethodDecl = Nodes.getNodeAs<CXXMethodDecl>(MethodDeclId); in constructorArgumentType() local
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DSpecialMemberFunctionsCheck.cpp126 if (const auto *MethodDecl = in check() local
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.cpp157 ObjCMethodDecl *MethodDecl) { in SynthesizeObjCMethodResult()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DMoveChecker.cpp444 const auto MethodDecl = dyn_cast_or_null<CXXMethodDecl>(AFC->getDecl()); in checkPostCall() local
630 const auto MethodDecl = dyn_cast_or_null<CXXMethodDecl>(IC->getDecl()); in checkPreCall() local
H A DSmartPtrModeling.cpp127 const auto *MethodDecl = dyn_cast_or_null<CXXMethodDecl>(Call.getDecl()); in isStdSmartPtrCall() local
215 const auto *MethodDecl = dyn_cast_or_null<CXXMethodDecl>(Call.getDecl()); in getInnerPointerType() local
/llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/
H A DDataflowEnvironment.cpp184 if (const auto *MethodDecl = dyn_cast<CXXMethodDecl>(&DeclCtx)) { in Environment() local
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DSuspiciousCallArgumentCheck.cpp640 if (const auto *MethodDecl = dyn_cast<CXXMethodDecl>(CalleeFuncDecl)) { in check() local
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DAvoidBindCheck.cpp684 const auto *MethodDecl = dyn_cast<CXXMethodDecl>(LP.Callable.Decl); in check() local
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclObjC.cpp2333 ObjCMethodDecl *MethodDecl, in CheckMethodOverrideReturn()
2417 ObjCMethodDecl *MethodDecl, in CheckMethodOverrideParam()
2571 ObjCMethodDecl *MethodDecl, in WarnConflictingTypedMethods()
2622 ObjCMethodDecl *MethodDecl, in WarnExactTypedMethods()
H A DSemaAvailability.cpp499 if (const auto *MethodDecl = dyn_cast<ObjCMethodDecl>(ReferringDecl)) { in DoEmitAvailabilityWarning() local
H A DSemaCoroutine.cpp1587 auto *MethodDecl = MbrRef->getMethodDecl(); in noteMemberDeclaredHere() local
H A DSemaDeclAttr.cpp155 if (const auto *MethodDecl = dyn_cast<CXXMethodDecl>(D)) in isInstanceMethod() local
1018 if (const auto *MethodDecl = dyn_cast<CXXMethodDecl>(DeclFD)) in handleDiagnoseAsBuiltinAttr() local
H A DSemaDeclCXX.cpp15909 if (CXXMethodDecl *MethodDecl = dyn_cast<CXXMethodDecl>(FnDecl)) { in CheckOverloadedOperatorDeclaration() local
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DInitialization.h186 ObjCMethodDecl *MethodDecl; member
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DObjCMT.cpp1570 const ObjCMethodDecl *MethodDecl, in AddCFAnnotations()
1624 const ObjCMethodDecl *MethodDecl) { in migrateAddMethodAnnotation()
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclObjC.cpp703 ObjCMethodDecl *MethodDecl = nullptr; in lookupMethod() local
1970 ObjCMethodDecl *MethodDecl = nullptr; in lookupMethod() local
H A DASTContext.cpp12045 ASTContext::ObjCMethodsAreEqual(const ObjCMethodDecl *MethodDecl, in ObjCMethodsAreEqual()
/llvm-project-15.0.7/clang/unittests/Introspection/
H A DIntrospectionTest.cpp203 const auto *MethodDecl = BoundNodes[0].getNodeAs<CXXMethodDecl>("method"); in TEST() local
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DItaniumCXXABI.cpp1926 auto *MethodDecl = cast<CXXMethodDecl>(GD.getDecl()); in getVirtualFunctionPointer() local
H A DMicrosoftCXXABI.cpp1932 auto *MethodDecl = cast<CXXMethodDecl>(GD.getDecl()); in getVirtualFunctionPointer() local

12