Home
last modified time | relevance | path

Searched refs:MDecl (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/lldb/tools/lldb-rpc/lldb-rpc-gen/
H A Dlldb-rpc-gen.cpp100 for (CXXMethodDecl *MDecl : RDecl->methods()) { in VisitCXXRecordDecl()
102 lldb_rpc_gen::GetMangledName(Context, MDecl); in VisitCXXRecordDecl()
105 lldb_rpc_gen::HasCallbackParameter(MDecl); in VisitCXXRecordDecl()
106 SupportLevel MethodSupportLevel = GetMethodSupportLevel(MDecl); in VisitCXXRecordDecl()
108 const lldb_rpc_gen::Method Method(MDecl, Policy, Context); in VisitCXXRecordDecl()
156 SupportLevel GetMethodSupportLevel(CXXMethodDecl *MDecl) { in GetMethodSupportLevel() argument
157 AccessSpecifier AS = MDecl->getAccess(); in GetMethodSupportLevel()
160 if (MDecl->isCopyAssignmentOperator()) in GetMethodSupportLevel()
162 if (MDecl->isMoveAssignmentOperator()) in GetMethodSupportLevel()
165 if (MDecl->isVariadic()) in GetMethodSupportLevel()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DModuleMapFile.cpp251 ModuleDecl MDecl; in parseModuleDecl() local
254 MDecl.Explicit = false; in parseModuleDecl()
255 MDecl.Framework = false; in parseModuleDecl()
259 MDecl.Location = ExplicitLoc = consumeToken(); in parseModuleDecl()
260 MDecl.Explicit = true; in parseModuleDecl()
266 if (!MDecl.Location.isValid()) in parseModuleDecl()
267 MDecl.Location = FrameworkLoc; in parseModuleDecl()
268 MDecl.Framework = true; in parseModuleDecl()
279 if (!MDecl.Location.isValid()) in parseModuleDecl()
280 MDecl.Location = ModuleLoc; // 'module' keyword in parseModuleDecl()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp336 ObjCMethodDecl *MDecl = dyn_cast_or_null<ObjCMethodDecl>(D); in AddAnyMethodToGlobalPool() local
339 if (!MDecl) in AddAnyMethodToGlobalPool()
341 if (MDecl->isInstanceMethod()) in AddAnyMethodToGlobalPool()
342 AddInstanceMethodToGlobalPool(MDecl, true); in AddAnyMethodToGlobalPool()
344 AddFactoryMethodToGlobalPool(MDecl, true); in AddAnyMethodToGlobalPool()
372 ObjCMethodDecl *MDecl = dyn_cast_or_null<ObjCMethodDecl>(D); in ActOnStartOfObjCMethodDef() local
378 if (!MDecl) in ActOnStartOfObjCMethodDef()
381 QualType ResultType = MDecl->getReturnType(); in ActOnStartOfObjCMethodDef()
383 !MDecl->isInvalidDecl() && in ActOnStartOfObjCMethodDef()
384 SemaRef.RequireCompleteType(MDecl->getLocation(), ResultType, in ActOnStartOfObjCMethodDef()
[all …]
H A DSemaChecking.cpp9328 if (const CXXMethodDecl *MDecl = dyn_cast<CXXMethodDecl>(FDecl)) { in IsInfinityFunction() local
9329 const CXXRecordDecl *RDecl = MDecl->getParent(); in IsInfinityFunction()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseObjc.cpp932 Decl *MDecl = ParseObjCMethodDecl(mLoc, methodType, MethodImplKind, in ParseObjCMethodPrototype() local
936 return MDecl; in ParseObjCMethodPrototype()
2392 void Parser::StashAwayMethodOrFunctionBodyTokens(Decl *MDecl) { in StashAwayMethodOrFunctionBodyTokens() argument
2393 if (SkipFunctionBodies && (!MDecl || Actions.canSkipFunctionBody(MDecl)) && in StashAwayMethodOrFunctionBodyTokens()
2395 Actions.ActOnSkippedFunctionBody(MDecl); in StashAwayMethodOrFunctionBodyTokens()
2399 LexedMethod* LM = new LexedMethod(this, MDecl); in StashAwayMethodOrFunctionBodyTokens()
2435 Decl *MDecl = ParseObjCMethodPrototype(); in ParseObjCMethodDefinition() local
2437 PrettyDeclStackTraceEntry CrashInfo(Actions.Context, MDecl, Tok.getLocation(), in ParseObjCMethodDefinition()
2461 if (!MDecl) { in ParseObjCMethodDefinition()
2468 Actions.ObjC().AddAnyMethodToGlobalPool(MDecl); in ParseObjCMethodDefinition()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DGenericTaintChecker.cpp1093 const CXXMethodDecl *MDecl = dyn_cast<CXXMethodDecl>(FDecl); in getPrintfFormatArgumentNum() local
1094 if (MDecl && !MDecl->isStatic()) in getPrintfFormatArgumentNum()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h5635 void StashAwayMethodOrFunctionBodyTokens(Decl *MDecl);
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp271 ObjCMethodDecl *MDecl, std::string &ResultStr);
H A DRewriteModernObjC.cpp324 ObjCMethodDecl *MDecl, std::string &ResultStr);