Home
last modified time | relevance | path

Searched refs:DeclScope (Results 1 – 20 of 20) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DScope.cpp74 if (flags & DeclScope) { in setFlags()
79 else if ((flags & ClassScope) && getParent()->getFlags() == DeclScope) in setFlags()
150 {DeclScope, "DeclScope"}, in dumpImpl()
H A DSema.cpp1370 if (S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) in getScopeForContext()
H A DSemaDeclCXX.cpp9369 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 DSemaDecl.cpp1805 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 DSemaTemplate.cpp7149 while ((S->getFlags() & Scope::DeclScope) == 0 || in CheckTemplateDeclScope()
9062 while ((S->getFlags() & Scope::DeclScope) == 0 || in ActOnExplicitInstantiation()
H A DSemaLookup.cpp1745 while (!(S->getFlags() & Scope::DeclScope) || in LookupName()
H A DSemaCodeComplete.cpp3843 (S->getFlags() & Scope::DeclScope) != 0 && in CodeCompleteDeclSpec()
H A DSemaExpr.cpp11514 const unsigned ForInitFlags = Scope::ControlScope | Scope::DeclScope; in DiagnoseCommaOperator()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseStmt.cpp463 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 DParseCXXInlineMethods.cpp276 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 DParser.cpp441 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 DParseObjc.cpp1384 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 DParseOpenMP.cpp310 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 DParseDeclCXX.cpp212 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 DParseTemplate.cpp1413 TemplateParamScopeStack.push_back(new ParseScope(this, Scope::DeclScope)); in ParseLateTemplatedFuncDef()
1432 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseLateTemplatedFuncDef()
H A DParseDecl.cpp399 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 DParseExprCXX.cpp1130 Scope::DeclScope); in ParseLambdaExpressionAfterIntroducer()
1287 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer()
H A DParseExpr.cpp2967 Scope::CompoundStmtScope | Scope::DeclScope); in ParseBlockLiteralExpression()
H A DParsePragma.cpp657 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope | in HandlePragmaCaptured()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DScope.h60 DeclScope = 0x08, enumerator