Home
last modified time | relevance | path

Searched refs:HasScope (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/flang/lib/Semantics/
Dresolve-labels.cpp51 bool HasScope(ProxyForScope scope) { return scope != ProxyForScope{0u}; } in HasScope() function
810 if (!HasScope(tail)) { in InInclusiveScope()
851 if (HasScope(branchTarget.proxyForScope)) { in CheckBranchesIntoDoBody()
905 if (!HasScope(doTarget.proxyForScope)) { in CheckLabelDoConstraints()
959 if (!HasScope(target.proxyForScope)) { in CheckScopeConstraints()
982 if (HasScope(branchTarget.proxyForScope)) { in CheckBranchTargetConstraints()
1021 if (HasScope(ioTarget.proxyForScope)) { in CheckDataXferTargetConstraints()
1048 if (HasScope(target.proxyForScope) && in CheckAssignTargetConstraints()
/external/clang/lib/Parse/
DParseDecl.cpp2562 bool HasScope = Tok.is(tok::annot_cxxscope); in DiagnoseMissingSemiAfterTagDefinition() local
2564 Token AfterScope = HasScope ? NextToken() : Tok; in DiagnoseMissingSemiAfterTagDefinition()
2580 const Token &Next = HasScope ? GetLookAheadToken(2) : NextToken(); in DiagnoseMissingSemiAfterTagDefinition()
2588 } else if (HasScope) { in DiagnoseMissingSemiAfterTagDefinition()
/external/llvm-project/clang/lib/Parse/
DParseDecl.cpp2859 bool HasScope = Tok.is(tok::annot_cxxscope); in DiagnoseMissingSemiAfterTagDefinition() local
2861 Token AfterScope = HasScope ? NextToken() : Tok; in DiagnoseMissingSemiAfterTagDefinition()
2877 const Token &Next = HasScope ? GetLookAheadToken(2) : NextToken(); in DiagnoseMissingSemiAfterTagDefinition()
2885 } else if (HasScope) { in DiagnoseMissingSemiAfterTagDefinition()