Searched refs:ScopeFlags (Results 1 – 9 of 9) sorted by relevance
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Scope.h | 45 enum ScopeFlags { enum 261 Scope(Scope *Parent, unsigned ScopeFlags, DiagnosticsEngine &Diag) in Scope() argument 263 Init(Parent, ScopeFlags); in Scope() 563 bool isInOpenACCComputeConstructScope(ScopeFlags Flags = NoScope) const { 583 return getFlags() & ScopeFlags::ContinueScope; in isContinueScope() 591 return getFlags() & ScopeFlags::FnTryCatchScope; in isFnTryCatchScope()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 951 unsigned ScopeFlags) { in ParseCompoundStatement() argument 956 ParseScope CompoundScope(this, ScopeFlags); in ParseCompoundStatement() 1646 unsigned ScopeFlags = Scope::SwitchScope; in ParseSwitchStatement() local 1648 ScopeFlags |= Scope::DeclScope | Scope::ControlScope; in ParseSwitchStatement() 1649 ParseScope SwitchScope(this, ScopeFlags); in ParseSwitchStatement() 1730 unsigned ScopeFlags; in ParseWhileStatement() local 1732 ScopeFlags = Scope::BreakScope | Scope::ContinueScope | in ParseWhileStatement() 1735 ScopeFlags = Scope::BreakScope | Scope::ContinueScope; in ParseWhileStatement() 1736 ParseScope WhileScope(this, ScopeFlags); in ParseWhileStatement() 1787 unsigned ScopeFlags; in ParseDoStatement() local [all …]
|
| H A D | Parser.cpp | 420 void Parser::EnterScope(unsigned ScopeFlags) { in EnterScope() argument 423 N->Init(getCurScope(), ScopeFlags); in EnterScope() 426 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope() 446 Parser::ParseScopeFlags::ParseScopeFlags(Parser *Self, unsigned ScopeFlags, in ParseScopeFlags() argument 451 CurScope->setFlags(ScopeFlags); in ParseScopeFlags()
|
| H A D | ParseOpenMP.cpp | 464 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareMapperDirective() local 466 ParseScope OMPDirectiveScope(this, ScopeFlags); in ParseOpenMPDeclareMapperDirective() 2287 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPExecutableDirective() local 2319 ScopeFlags |= Scope::OpenMPLoopDirectiveScope; in ParseOpenMPExecutableDirective() 2321 ScopeFlags |= Scope::OpenMPSimdDirectiveScope; in ParseOpenMPExecutableDirective() 2322 ParseScope OMPDirectiveScope(this, ScopeFlags); in ParseOpenMPExecutableDirective() 2447 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPInformationalDirective() local 2449 ParseScope OMPDirectiveScope(this, ScopeFlags); in ParseOpenMPInformationalDirective()
|
| H A D | ParseExprCXX.cpp | 1467 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer() local 1469 ParseScope BodyScope(this, ScopeFlags); in ParseLambdaExpressionAfterIntroducer()
|
| H A D | ParseDeclCXX.cpp | 758 CurScope->setFlags(Scope::ScopeFlags::TypeAliasScope | in ParseUsingDeclaration()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
| H A D | Parser.h | 405 ParseScope(Parser *Self, unsigned ScopeFlags, bool EnteredScope = true, 409 Self->EnterScope(ScopeFlags); in Self() 440 void Enter(unsigned ScopeFlags) { in Enter() argument 441 Self.EnterScope(ScopeFlags); in Enter() 454 void EnterScope(unsigned ScopeFlags); 852 ParseScopeFlags(Parser *Self, unsigned ScopeFlags, bool ManageFlags = true); 7341 StmtResult ParseCompoundStatement(bool isStmtExpr, unsigned ScopeFlags);
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 14119 const unsigned ScopeFlags = getCurScope()->getFlags(); in DiagnoseCommaOperator() local 14120 if ((ScopeFlags & ForIncrementFlags) == ForIncrementFlags || in DiagnoseCommaOperator() 14121 (ScopeFlags & ForInitFlags) == ForInitFlags) in DiagnoseCommaOperator()
|
| H A D | SemaChecking.cpp | 1465 Scope::ScopeFlags NeededScopeFlags, in BuiltinSEHScopeCheck()
|