/external/clang/lib/Sema/ |
D | Scope.cpp | 25 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()
|
D | SemaStmtAttr.cpp | 40 auto *FnScope = S.getCurFunction(); in handleFallThroughAttr() local 41 if (FnScope->SwitchStack.empty()) { in handleFallThroughAttr() 52 FnScope->setHasFallthroughStmt(); in handleFallThroughAttr()
|
D | SemaExprCXX.cpp | 667 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | in ActOnCXXThrow()
|
/external/clang/include/clang/Sema/ |
D | Scope.h | 46 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/ |
D | ParseOpenMP.cpp | 290 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()
|
D | ParseCXXInlineMethods.cpp | 523 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()
|
D | ParseTemplate.cpp | 1383 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()
|
D | Parser.cpp | 1038 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()
|
D | ParseObjc.cpp | 3645 ? Scope::ObjCMethodScope|Scope::FnScope|Scope::DeclScope in ParseLexedObjCMethodDefs() 3646 : Scope::FnScope|Scope::DeclScope); in ParseLexedObjCMethodDefs()
|
D | ParseDecl.cpp | 1246 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope, HasFunScope); in ParseLexedAttribute() local 1256 FnScope.Exit(); // Pop scope, and remove Decls from IdResolver in ParseLexedAttribute()
|
D | ParseExpr.cpp | 2774 ParseScope BlockScope(this, Scope::BlockScope | Scope::FnScope | in ParseBlockLiteralExpression()
|
D | ParsePragma.cpp | 442 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope); in HandlePragmaCaptured()
|
D | ParseExprCXX.cpp | 1304 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope; in ParseLambdaExpressionAfterIntroducer()
|
D | ParseDeclCXX.cpp | 2975 if ((S->getFlags() & Scope::FnScope)) in ParseCXXMemberSpecification()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfDebug.cpp | 1058 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/ |
D | DwarfDebug.cpp | 1416 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/ |
D | DwarfDebug.cpp | 973 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()
|