Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DScope.cpp25 if (parent && !(flags & FnScope)) { in Init()
42 if ((Flags & (FnScope | ClassScope | BlockScope | TemplateParamScope | in Init()
56 if (flags & FnScope) FnParent = this; in Init()
59 if (Flags & (ClassScope | FnScope)) { in Init()
140 if (Flags & FnScope) { in dumpImpl()
142 Flags &= ~FnScope; in dumpImpl()
DSemaExprCXX.cpp603 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | in ActOnCXXThrow()
/external/clang/include/clang/Sema/
DScope.h45 FnScope = 0x01, enumerator
363 else if (S->getFlags() & (Scope::FnScope | Scope::ClassScope | in isSwitchScope()
/external/clang/lib/Parse/
DParseCXXInlineMethods.cpp418 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope); in ParseLexedMethodDef() local
422 ParseFunctionTryBlock(LM.D, FnScope); in ParseLexedMethodDef()
437 FnScope.Exit(); in ParseLexedMethodDef()
453 ParseFunctionStatementBody(LM.D, FnScope); in ParseLexedMethodDef()
DParseTemplate.cpp1327 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope); in ParseLateTemplatedFuncDef() local
1335 ParseFunctionTryBlock(LPT.D, FnScope); in ParseLateTemplatedFuncDef()
1349 ParseFunctionStatementBody(LPT.D, FnScope); in ParseLateTemplatedFuncDef()
1356 FnScope.Exit(); in ParseLateTemplatedFuncDef()
DParser.cpp986 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition()
1010 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition()
1028 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition()
1741 if (S->getFlags() & Scope::FnScope) { in handleUnexpectedCodeCompletionToken()
DParseOpenMP.cpp119 Scope::FnScope | Scope::DeclScope | Scope::OpenMPDirectiveScope; in ParseOpenMPDeclarativeOrExecutableDirective()
DParseObjc.cpp2935 ? Scope::ObjCMethodScope|Scope::FnScope|Scope::DeclScope in ParseLexedObjCMethodDefs()
2936 : Scope::FnScope|Scope::DeclScope); in ParseLexedObjCMethodDefs()
DParseDecl.cpp1092 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope, HasFunScope); in ParseLexedAttribute() local
1102 FnScope.Exit(); // Pop scope, and remove Decls from IdResolver in ParseLexedAttribute()
DParsePragma.cpp400 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope); in HandlePragmaCaptured()
DParseExpr.cpp2419 ParseScope BlockScope(this, Scope::BlockScope | Scope::FnScope | in ParseBlockLiteralExpression()
DParseExprCXX.cpp1171 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope; in ParseLambdaExpressionAfterIntroducer()
DParseDeclCXX.cpp2532 if ((S->getFlags() & Scope::FnScope)) { in ParseCXXMemberSpecification()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfDebug.cpp1192 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in collectVariableInfo() local
1193 DwarfCompileUnit *TheCU = SPMap.lookup(FnScope->getScopeNode()); in collectVariableInfo()
1276 DIArray Variables = DISubprogram(FnScope->getScopeNode()).getVariables(); in collectVariableInfo()
1438 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in beginFunction() local
1447 DwarfCompileUnit *TheCU = SPMap.lookup(FnScope->getScopeNode()); in beginFunction()
1566 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in endFunction() local
1567 DwarfCompileUnit &TheCU = *SPMap.lookup(FnScope->getScopeNode()); in endFunction()
1586 DIE &CurFnDIE = constructSubprogramScopeDIE(TheCU, FnScope); in endFunction()