Home
last modified time | relevance | path

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

12

/llvm-project/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/clang-tools-extra/clang-tidy/utils/
H A DExceptionSpecAnalyzer.cpp32 const CXXMethodDecl *MethodDecl, const FunctionProtoType *FuncProto) { in analyzeUnresolvedOrDefaulted()
85 for (const auto *MethodDecl : RecordDecl->methods()) in analyzeRecord() local
231 if (const auto *MethodDecl = dyn_cast<CXXMethodDecl>(FuncDecl)) { in getDefaultableMemberKind() local
/llvm-project/clang-tools-extra/clang-tidy/bugprone/
H A DAssertSideEffectCheck.cpp44 if (const auto *MethodDecl = in AST_MATCHER_P2() local
79 if (const auto *MethodDecl = dyn_cast<CXXMethodDecl>(FuncDecl)) in AST_MATCHER_P2() local
/llvm-project/clang/examples/CallSuperAttribute/
H A DCallSuperAttrInfo.cpp80 bool VisitCXXMethodDecl(CXXMethodDecl *MethodDecl) { in VisitCXXMethodDecl() argument
129 const CXXMethodDecl *MethodDecl) { in lateDiagAppertainsToDecl() argument
[all...]
/llvm-project/clang-tools-extra/clang-tidy/llvmlibc/
H A DInlineFunctionDeclCheck.cpp80 if (const auto *MethodDecl = dyn_cast<CXXMethodDecl>(FuncDecl)) in check() local
/llvm-project/clang-tools-extra/clang-tidy/google/
H A DAvoidNSObjectNewCheck.cpp40 for (const auto *MethodDecl : ClassDecl->instance_methods()) { in isInitMethodAvailable() local
/llvm-project/clang-tools-extra/clang-tidy/performance/
H A DUnnecessaryCopyInitialization.cpp86 const auto MethodDecl = in AST_MATCHER_FUNCTION_P() local
220 const auto *MethodDecl = Nodes.getNodeAs<CXXMethodDecl>(MethodDeclId); constructorArgumentType() local
/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRefCntblBaseVirtualDtorChecker.cpp333 for (auto *MethodDecl : C->methods()) { isClassWithSpecializedDelete() local
344 for (auto *MethodDecl : C->methods()) { isClassWithSpecializedDelete() local
H A DPtrTypesSemantics.cpp230 if (auto *MethodDecl = dyn_cast<CXXMethodDecl>(F)) { isSingleton() local
/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DSpecialMemberFunctionsCheck.cpp147 if (const auto *MethodDecl = in check() local
/llvm-project/clang/include/clang/Sema/
H A DAttr.h121 if (const auto *MethodDecl = dyn_cast<CXXMethodDecl>(D)) in isInstanceMethod() local
H A DInitialization.h190 ObjCMethodDecl *MethodDecl; member
/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DASTOps.cpp182 const auto *MethodDecl = dyn_cast_or_null<CXXMethodDecl>(C.getCalleeDecl()); getMemberForAccessor() local
H A DDataflowEnvironment.cpp510 if (const auto *MethodDecl = dyn_cast<CXXMethodDecl>(InitialTargetFunc)) { initialize() local
/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.cpp157 SynthesizeObjCMethodResult(ObjCMethodDecl * MethodDecl) SynthesizeObjCMethodResult() argument
/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMoveChecker.cpp446 const auto MethodDecl = dyn_cast_or_null<CXXMethodDecl>(AFC->getDecl()); checkPostCall() local
629 const auto MethodDecl = dyn_cast_or_null<CXXMethodDecl>(IC->getDecl()); checkPreCall() local
[all...]
H A DSmartPtrModeling.cpp128 const auto *MethodDecl = dyn_cast_or_null<CXXMethodDecl>(Call.getDecl()); in isStdSmartPtrCall() local
216 const auto *MethodDecl = dyn_cast_or_null<CXXMethodDecl>(Call.getDecl()); in getInnerPointerType() local
/llvm-project/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp245 auto *MethodDecl = CXXMethodDecl::Create( addArraySubscriptOperator() local
H A DSemaDeclObjC.cpp2355 CheckMethodOverrideReturn(Sema & S,ObjCMethodDecl * MethodImpl,ObjCMethodDecl * MethodDecl,bool IsProtocolMethodDecl,bool IsOverridingMode,bool Warn) CheckMethodOverrideReturn() argument
2435 CheckMethodOverrideParam(Sema & S,ObjCMethodDecl * MethodImpl,ObjCMethodDecl * MethodDecl,ParmVarDecl * ImplVar,ParmVarDecl * IfaceVar,bool IsProtocolMethodDecl,bool IsOverridingMode,bool Warn) CheckMethodOverrideParam() argument
2587 WarnConflictingTypedMethods(ObjCMethodDecl * ImpMethodDecl,ObjCMethodDecl * MethodDecl,bool IsProtocolMethodDecl) WarnConflictingTypedMethods() argument
2636 WarnExactTypedMethods(ObjCMethodDecl * ImpMethodDecl,ObjCMethodDecl * MethodDecl,bool IsProtocolMethodDecl) WarnExactTypedMethods() argument
[all...]
H A DSemaAvailability.cpp586 if (const auto *MethodDecl = dyn_cast<ObjCMethodDecl>(ReferringDecl)) { DoEmitAvailabilityWarning() local
/llvm-project/clang-tools-extra/clang-tidy/readability/
H A DSuspiciousCallArgumentCheck.cpp639 if (const auto *MethodDecl = dyn_cast<CXXMethodDecl>(CalleeFuncDecl)) { check() local
/llvm-project/clang-tools-extra/clang-tidy/modernize/
H A DAvoidBindCheck.cpp691 const auto *MethodDecl = dyn_cast<CXXMethodDecl>(LP.Callable.Decl); in check() local
/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp710 ObjCMethodDecl *MethodDecl = nullptr; lookupMethod() local
1999 ObjCMethodDecl *MethodDecl = nullptr; lookupMethod() local
[all...]
/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp1565 AddCFAnnotations(ASTContext & Ctx,const RetainSummary * RS,const ObjCMethodDecl * MethodDecl,bool ResultAnnotated) AddCFAnnotations() argument
1619 migrateAddMethodAnnotation(ASTContext & Ctx,const ObjCMethodDecl * MethodDecl) migrateAddMethodAnnotation() argument
[all...]
/llvm-project/clang-tools-extra/clangd/refactor/
H A DRename.cpp873 if (const auto *MethodDecl = llvm::dyn_cast<CXXMethodDecl>(&RenameDecl)) in findOccurrencesOutsideFile() local

12