| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | Scope.cpp | 74 if (flags & DeclScope) { in setFlags() 79 else if ((flags & ClassScope) && getParent()->getFlags() == DeclScope) in setFlags() 150 {DeclScope, "DeclScope"}, in dumpImpl()
|
| H A D | Sema.cpp | 1370 if (S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) in getScopeForContext()
|
| H A D | SemaDeclCXX.cpp | 9369 assert(S->getFlags() & Scope::DeclScope && "Invalid Scope."); in ActOnUsingDirective() 9459 assert(S->getFlags() & Scope::DeclScope && "Invalid Scope."); in ActOnUsingDeclaration() 10491 assert((S->getFlags() & Scope::DeclScope) && in ActOnAliasDeclaration() 14502 Scope FakeDCScope(S, Scope::DeclScope, Diags); in ActOnFriendFunctionDecl()
|
| H A D | SemaDecl.cpp | 1805 assert((S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) && in ActOnPopScope() 1905 while (((S->getFlags() & Scope::DeclScope) == 0) || in getNonFieldDeclScope() 5332 while ((S->getFlags() & Scope::DeclScope) == 0 || in HandleDeclarator() 8292 ((S->getFlags() & Scope::DeclScope) == 0) || in getTagInjectionScope()
|
| H A D | SemaTemplate.cpp | 7149 while ((S->getFlags() & Scope::DeclScope) == 0 || in CheckTemplateDeclScope() 9062 while ((S->getFlags() & Scope::DeclScope) == 0 || in ActOnExplicitInstantiation()
|
| H A D | SemaLookup.cpp | 1745 while (!(S->getFlags() & Scope::DeclScope) || in LookupName()
|
| H A D | SemaCodeComplete.cpp | 3843 (S->getFlags() & Scope::DeclScope) != 0 && in CodeCompleteDeclSpec()
|
| H A D | SemaExpr.cpp | 11514 const unsigned ForInitFlags = Scope::ControlScope | Scope::DeclScope; in DiagnoseCommaOperator()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 463 Scope::DeclScope | Scope::CompoundStmtScope | Scope::SEHTryScope)); in ParseSEHTryBlock() 501 ParseScope ExpectScope(this, Scope::DeclScope | Scope::ControlScope | in ParseSEHExceptBlock() 836 Scope::DeclScope | Scope::CompoundStmtScope); in ParseCompoundStatement() 1182 ParseScope IfScope(this, Scope::DeclScope | Scope::ControlScope, C99orCXX); in ParseIfStatement() 1253 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, in ParseIfStatement() 1324 ScopeFlags |= Scope::DeclScope | Scope::ControlScope; in ParseSwitchStatement() 1411 Scope::DeclScope | Scope::ControlScope; in ParseWhileStatement() 1595 ScopeFlags = Scope::DeclScope | Scope::ControlScope; in ParseForStatement() 1851 ParseScope InnerScope(this, Scope::DeclScope, C99orCXXorObjC, in ParseForStatement() 2151 /*isStmtExpr=*/false, Scope::DeclScope | Scope::TryScope | in ParseCXXTryBlockCommon() [all …]
|
| H A D | ParseCXXInlineMethods.cpp | 276 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope, in ParseLexedMethodDeclarations() 305 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseLexedMethodDeclaration() 477 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope, in ParseLexedMethodDefs() 516 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseLexedMethodDef() 583 unsigned ScopeFlags = Scope::ClassScope|Scope::DeclScope; in ParseLexedMemberInitializers()
|
| H A D | Parser.cpp | 441 EnterScope(Scope::DeclScope); in Initialize() 1108 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1139 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1158 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1280 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseKNRParamDeclarations()
|
| H A D | ParseObjc.cpp | 1384 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseObjCMethodDecl() 1896 ParseScope ClassScope(this, Scope::DeclScope|Scope::ClassScope); in ParseObjCClassInstanceVariables() 2454 ParseScope bodyScope(this, Scope::DeclScope | Scope::CompoundStmtScope); in ParseObjCSynchronizedStmt() 2490 ParseScope TryScope(this, Scope::DeclScope | Scope::CompoundStmtScope); in ParseObjCTryStmt() 2511 ParseScope CatchScope(this, Scope::DeclScope | in ParseObjCTryStmt() 2558 Scope::DeclScope | Scope::CompoundStmtScope); in ParseObjCTryStmt() 2608 ParseScope BodyScope(this, Scope::DeclScope | Scope::CompoundStmtScope); in ParseObjCAutoreleasePoolStmt() 3643 Scope::FnScope | Scope::DeclScope | in ParseLexedObjCMethodDefs()
|
| H A D | ParseOpenMP.cpp | 310 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective() 346 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective() 511 &P, Scope::FnScope | Scope::DeclScope | Scope::CompoundStmtScope, in FNContextRAII() 986 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclarativeOrExecutableDirective()
|
| H A D | ParseDeclCXX.cpp | 212 ParseScope NamespaceScope(this, Scope::DeclScope); in ParseNamespace() 259 ParseScope NamespaceScope(this, Scope::DeclScope); in ParseInnerNamespace() 337 ParseScope LinkageScope(this, Scope::DeclScope); in ParseLinkage() 420 ParseScope ExportScope(this, Scope::DeclScope); in ParseExportDeclaration() 2977 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope); in SkipCXXMemberSpecification() 3144 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope); in ParseCXXMemberSpecification()
|
| H A D | ParseTemplate.cpp | 1413 TemplateParamScopeStack.push_back(new ParseScope(this, Scope::DeclScope)); in ParseLateTemplatedFuncDef() 1432 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseLateTemplatedFuncDef()
|
| H A D | ParseDecl.cpp | 399 Scope::DeclScope); in ParseGNUAttributeArgs() 1364 unsigned ScopeFlags = Scope::ClassScope|Scope::DeclScope; in ParseLexedAttributes() 1442 this, Scope::FnScope | Scope::DeclScope | Scope::CompoundStmtScope, in ParseLexedAttribute() 3987 ParseScope StructScope(this, Scope::ClassScope|Scope::DeclScope); in ParseStructUnionBody() 4483 ParseScope EnumScope(this, Scope::DeclScope | Scope::EnumScope); in ParseEnumBody() 5831 Scope::FunctionPrototypeScope|Scope::DeclScope| in ParseDirectDeclarator() 6028 Scope::FunctionPrototypeScope | Scope::DeclScope | in ParseParenDeclarator()
|
| H A D | ParseExprCXX.cpp | 1130 Scope::DeclScope); in ParseLambdaExpressionAfterIntroducer() 1287 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer()
|
| H A D | ParseExpr.cpp | 2967 Scope::CompoundStmtScope | Scope::DeclScope); in ParseBlockLiteralExpression()
|
| H A D | ParsePragma.cpp | 657 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope | in HandlePragmaCaptured()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | Scope.h | 60 DeclScope = 0x08, enumerator
|