Searched refs:MDecl (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaDeclObjC.cpp | 333 if (!MDecl) in AddAnyMethodToGlobalPool() 335 if (MDecl->isInstanceMethod()) in AddAnyMethodToGlobalPool() 370 if (!MDecl) in ActOnStartOfObjCMethodDef() 375 !MDecl->isInvalidDecl() && in ActOnStartOfObjCMethodDef() 378 MDecl->setInvalidDecl(); in ActOnStartOfObjCMethodDef() 381 PushDeclContext(FnBodyScope, MDecl); in ActOnStartOfObjCMethodDef() 388 MDecl->createImplicitParams(Context, MDecl->getClassInterface()); in ActOnStartOfObjCMethodDef() 398 for (auto *Param : MDecl->parameters()) { in ActOnStartOfObjCMethodDef() 411 switch (MDecl->getMethodFamily()) { in ActOnStartOfObjCMethodDef() 417 << 0 << MDecl->getSelector(); in ActOnStartOfObjCMethodDef() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | LoopConvertUtils.cpp | 411 const auto *MDecl = MemCall->getMethodDecl(); in isAliasDecl() local 412 if (MDecl && !isa<CXXConversionDecl>(MDecl) && in isAliasDecl() 413 MDecl->getNameAsString() == "at" && MemCall->getNumArgs() == 1) { in isAliasDecl()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseObjc.cpp | 999 Decl *MDecl = ParseObjCMethodDecl(mLoc, methodType, MethodImplKind, in ParseObjCMethodPrototype() local 1003 return MDecl; in ParseObjCMethodPrototype() 2654 void Parser::StashAwayMethodOrFunctionBodyTokens(Decl *MDecl) { in StashAwayMethodOrFunctionBodyTokens() argument 2655 if (SkipFunctionBodies && (!MDecl || Actions.canSkipFunctionBody(MDecl)) && in StashAwayMethodOrFunctionBodyTokens() 2657 Actions.ActOnSkippedFunctionBody(MDecl); in StashAwayMethodOrFunctionBodyTokens() 2661 LexedMethod* LM = new LexedMethod(this, MDecl); in StashAwayMethodOrFunctionBodyTokens() 2699 Decl *MDecl = ParseObjCMethodPrototype(); in ParseObjCMethodDefinition() local 2725 if (!MDecl) { in ParseObjCMethodDefinition() 2732 Actions.AddAnyMethodToGlobalPool(MDecl); in ParseObjCMethodDefinition() 2736 StashAwayMethodOrFunctionBodyTokens(MDecl); in ParseObjCMethodDefinition() [all …]
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersTraversalTest.cpp | 3030 auto MDecl = cxxMethodDecl(ofClass(cxxRecordDecl(hasName("ContainsArray"))), in TEST() local 3033 EXPECT_TRUE(matches(Code, traverse(TK_AsIs, MDecl))); in TEST() 3034 EXPECT_TRUE(matches(Code, traverse(TK_IgnoreUnlessSpelledInSource, MDecl))); in TEST() 3036 auto MDef = cxxMethodDecl(MDecl, has(compoundStmt())); in TEST() 3041 auto MBody = cxxMethodDecl(MDecl, hasBody(compoundStmt())); in TEST() 3047 auto MIsDefn = cxxMethodDecl(MDecl, isDefinition()); in TEST() 3053 auto MIsInline = cxxMethodDecl(MDecl, isInline()); in TEST() 3061 cxxMethodDecl(MDecl, hasParameter(0, parmVarDecl(hasName("other")))); in TEST()
|
| /llvm-project-15.0.7/clang/include/clang/Parse/ |
| H A D | Parser.h | 1709 void StashAwayMethodOrFunctionBodyTokens(Decl *MDecl);
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 273 ObjCMethodDecl *MDecl, std::string &ResultStr);
|
| H A D | RewriteModernObjC.cpp | 326 ObjCMethodDecl *MDecl, std::string &ResultStr);
|