Home
last modified time | relevance | path

Searched refs:FnScope (Results 1 – 14 of 14) sorted by relevance

/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDScope.cpp25 if (parent && !(flags & FnScope)) { in Init()
43 if ((Flags & (FnScope | ClassScope | BlockScope | TemplateParamScope | in Init()
58 if (flags & FnScope) FnParent = this; in Init()
61 if (Flags & (ClassScope | FnScope)) { in Init()
143 if (Flags & FnScope) { in dumpImpl()
145 Flags &= ~FnScope; in dumpImpl()
HDSemaExprCXX.cpp626 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | in ActOnCXXThrow()
/NextBSD/contrib/llvm/tools/clang/include/clang/Sema/
HDScope.h45 FnScope = 0x01, enumerator
320 bool isFunctionScope() const { return (getFlags() & Scope::FnScope); } in isFunctionScope()
382 else if (S->getFlags() & (Scope::FnScope | Scope::ClassScope | in isSwitchScope()
/NextBSD/contrib/llvm/tools/clang/lib/Parse/
HDParseCXXInlineMethods.cpp514 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope); in ParseLexedMethodDef() local
518 ParseFunctionTryBlock(LM.D, FnScope); in ParseLexedMethodDef()
532 FnScope.Exit(); in ParseLexedMethodDef()
552 ParseFunctionStatementBody(LM.D, FnScope); in ParseLexedMethodDef()
HDParseTemplate.cpp1365 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope); in ParseLateTemplatedFuncDef() local
1374 ParseFunctionTryBlock(LPT.D, FnScope); in ParseLateTemplatedFuncDef()
1388 ParseFunctionStatementBody(LPT.D, FnScope); in ParseLateTemplatedFuncDef()
1395 FnScope.Exit(); in ParseLateTemplatedFuncDef()
HDParser.cpp1024 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition()
1048 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition()
1066 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition()
1802 if (S->getFlags() & Scope::FnScope) { in handleUnexpectedCodeCompletionToken()
HDParseOpenMP.cpp162 Scope::FnScope | Scope::DeclScope | Scope::OpenMPDirectiveScope; in ParseOpenMPDeclarativeOrExecutableDirective()
HDParseObjc.cpp3580 ? Scope::ObjCMethodScope|Scope::FnScope|Scope::DeclScope in ParseLexedObjCMethodDefs()
3581 : Scope::FnScope|Scope::DeclScope); in ParseLexedObjCMethodDefs()
HDParseDecl.cpp1218 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope, HasFunScope); in ParseLexedAttribute() local
1228 FnScope.Exit(); // Pop scope, and remove Decls from IdResolver in ParseLexedAttribute()
HDParsePragma.cpp426 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope); in HandlePragmaCaptured()
HDParseExpr.cpp2694 ParseScope BlockScope(this, Scope::BlockScope | Scope::FnScope | in ParseBlockLiteralExpression()
HDParseExprCXX.cpp1234 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope; in ParseLambdaExpressionAfterIntroducer()
HDParseDeclCXX.cpp2818 if ((S->getFlags() & Scope::FnScope)) in ParseCXXMemberSpecification()
/NextBSD/contrib/llvm/lib/CodeGen/AsmPrinter/
HDDwarfDebug.cpp1100 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in beginFunction() local
1109 DwarfCompileUnit *TheCU = SPMap.lookup(FnScope->getScopeNode()); in beginFunction()
1186 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in endFunction() local
1187 auto *SP = cast<DISubprogram>(FnScope->getScopeNode()); in endFunction()
1230 TheCU.constructSubprogramScopeDIE(FnScope); in endFunction()
1233 SkelCU->constructSubprogramScopeDIE(FnScope); in endFunction()