Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DScope.cpp23 if (parent && !(flags & FnScope)) { in Init()
48 if (flags & FnScope) FnParent = this; in Init()
DSemaExprCXX.cpp540 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | in ActOnCXXThrow()
/external/clang/include/clang/Sema/
DScope.h37 FnScope = 0x01, enumerator
283 else if (S->getFlags() & (Scope::FnScope | Scope::ClassScope | in isSwitchScope()
/external/clang/lib/Parse/
DParseCXXInlineMethods.cpp400 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope); in ParseLexedMethodDef() local
404 ParseFunctionTryBlock(LM.D, FnScope); in ParseLexedMethodDef()
419 FnScope.Exit(); in ParseLexedMethodDef()
428 ParseFunctionStatementBody(LM.D, FnScope); in ParseLexedMethodDef()
DParseTemplate.cpp1315 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope); in ParseLateTemplatedFuncDef() local
1329 ParseFunctionTryBlock(LMT.D, FnScope); in ParseLateTemplatedFuncDef()
1337 ParseFunctionStatementBody(LMT.D, FnScope); in ParseLateTemplatedFuncDef()
1344 FnScope.Exit(); in ParseLateTemplatedFuncDef()
DParser.cpp977 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition()
1010 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition()
1027 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition()
1695 if (S->getFlags() & Scope::FnScope) { in handleUnexpectedCodeCompletionToken()
DParseObjc.cpp2887 ? Scope::ObjCMethodScope|Scope::FnScope|Scope::DeclScope in ParseLexedObjCMethodDefs()
2888 : Scope::FnScope|Scope::DeclScope); in ParseLexedObjCMethodDefs()
DParseDecl.cpp922 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope, HasFunScope); in ParseLexedAttribute() local
930 FnScope.Exit(); // Pop scope, and remove Decls from IdResolver in ParseLexedAttribute()
DParseExpr.cpp2427 ParseScope BlockScope(this, Scope::BlockScope | Scope::FnScope | in ParseBlockLiteralExpression()
DParseExprCXX.cpp880 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope; in ParseLambdaExpressionAfterIntroducer()
DParseDeclCXX.cpp2261 if ((S->getFlags() & Scope::FnScope)) { in ParseCXXMemberSpecification()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfDebug.cpp1109 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in collectVariableInfo() local
1110 DIArray Variables = DISubprogram(FnScope->getScopeNode()).getVariables(); in collectVariableInfo()
1451 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in endFunction() local
1452 CompileUnit *TheCU = SPMap.lookup(FnScope->getScopeNode()); in endFunction()
1481 DIE *CurFnDIE = constructScopeDIE(TheCU, FnScope); in endFunction()