Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DScope.cpp25 if (parent && !(flags & FnScope)) { in setFlags()
43 if ((Flags & (FnScope | ClassScope | BlockScope | TemplateParamScope | in setFlags()
58 if (flags & FnScope) FnParent = this; in setFlags()
61 if (Flags & (ClassScope | FnScope)) { in setFlags()
147 if (Flags & FnScope) { in dumpImpl()
149 Flags &= ~FnScope; in dumpImpl()
DSemaStmtAttr.cpp40 auto *FnScope = S.getCurFunction(); in handleFallThroughAttr() local
41 if (FnScope->SwitchStack.empty()) { in handleFallThroughAttr()
52 FnScope->setHasFallthroughStmt(); in handleFallThroughAttr()
DSemaExprCXX.cpp667 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | in ActOnCXXThrow()
/external/clang/include/clang/Sema/
DScope.h46 FnScope = 0x01, enumerator
323 bool isFunctionScope() const { return (getFlags() & Scope::FnScope); } in isFunctionScope()
385 else if (S->getFlags() & (Scope::FnScope | Scope::ClassScope | in isSwitchScope()
/external/clang/lib/Parse/
DParseOpenMP.cpp290 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective()
325 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective()
367 Parser::ParseScope *FnScope; member in __anon76a66a790311::FNContextRAII
394 FnScope = new Parser::ParseScope(&P, Scope::FnScope | Scope::DeclScope, in FNContextRAII()
402 FnScope->Exit(); // Pop scope, and remove Decls from IdResolver in ~FNContextRAII()
406 delete FnScope; in ~FNContextRAII()
788 Scope::FnScope | Scope::DeclScope | Scope::OpenMPDirectiveScope; in ParseOpenMPDeclarativeOrExecutableDirective()
DParseCXXInlineMethods.cpp523 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope); in ParseLexedMethodDef() local
527 ParseFunctionTryBlock(LM.D, FnScope); in ParseLexedMethodDef()
541 FnScope.Exit(); in ParseLexedMethodDef()
561 ParseFunctionStatementBody(LM.D, FnScope); in ParseLexedMethodDef()
DParseTemplate.cpp1383 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope); in ParseLateTemplatedFuncDef() local
1392 ParseFunctionTryBlock(LPT.D, FnScope); in ParseLateTemplatedFuncDef()
1406 ParseFunctionStatementBody(LPT.D, FnScope); in ParseLateTemplatedFuncDef()
1413 FnScope.Exit(); in ParseLateTemplatedFuncDef()
DParser.cpp1038 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition()
1068 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition()
1086 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition()
1856 if (S->getFlags() & Scope::FnScope) { in handleUnexpectedCodeCompletionToken()
DParseObjc.cpp3645 ? Scope::ObjCMethodScope|Scope::FnScope|Scope::DeclScope in ParseLexedObjCMethodDefs()
3646 : Scope::FnScope|Scope::DeclScope); in ParseLexedObjCMethodDefs()
DParseDecl.cpp1246 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope, HasFunScope); in ParseLexedAttribute() local
1256 FnScope.Exit(); // Pop scope, and remove Decls from IdResolver in ParseLexedAttribute()
DParseExpr.cpp2774 ParseScope BlockScope(this, Scope::BlockScope | Scope::FnScope | in ParseBlockLiteralExpression()
DParsePragma.cpp442 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope); in HandlePragmaCaptured()
DParseExprCXX.cpp1304 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope; in ParseLambdaExpressionAfterIntroducer()
DParseDeclCXX.cpp2975 if ((S->getFlags() & Scope::FnScope)) in ParseCXXMemberSpecification()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfDebug.cpp1058 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in beginFunction() local
1067 auto *SP = cast<DISubprogram>(FnScope->getScopeNode()); in beginFunction()
1114 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in endFunction() local
1115 SP = cast<DISubprogram>(FnScope->getScopeNode()); in endFunction()
1157 TheCU.constructSubprogramScopeDIE(FnScope); in endFunction()
1160 SkelCU->constructSubprogramScopeDIE(FnScope); in endFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfDebug.cpp1416 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in endFunctionImpl() local
1417 assert(!FnScope || SP == FnScope->getScopeNode()); in endFunctionImpl()
1459 TheCU.constructSubprogramScopeDIE(SP, FnScope); in endFunctionImpl()
1463 SkelCU->constructSubprogramScopeDIE(SP, FnScope); in endFunctionImpl()
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DDwarfDebug.cpp973 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in collectVariableInfo() local
974 DIArray Variables = DISubprogram(FnScope->getScopeNode()).getVariables(); in collectVariableInfo()
1304 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in endFunction() local
1305 CompileUnit *TheCU = SPMap.lookup(FnScope->getScopeNode()); in endFunction()
1328 DIE *CurFnDIE = constructScopeDIE(TheCU, FnScope); in endFunction()