|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/include/clang/Sema/Scope.h 337 bool isFunctionScope() const { return (getFlags() & Scope::FnScope); }
341 return (getFlags() & Scope::ClassScope);
359 if (S->getFlags() & ObjCMethodScope)
370 if (S->getFlags() & ObjCMethodScope)
379 return getFlags() & Scope::TemplateParamScope;
385 return getFlags() & Scope::FunctionPrototypeScope;
390 return getFlags() & Scope::AtCatchScope;
396 if (S->getFlags() & Scope::SwitchScope)
398 else if (S->getFlags() & (Scope::FnScope | Scope::ClassScope |
409 return (getFlags() & Scope::OpenMPDirectiveScope);
415 if (getFlags() & Scope::OpenMPLoopDirectiveScope) {
426 return getFlags() & Scope::OpenMPSimdDirectiveScope;
437 bool isTryScope() const { return getFlags() & Scope::TryScope; }
440 bool isSEHTryScope() const { return getFlags() & Scope::SEHTryScope; }
443 bool isSEHExceptScope() const { return getFlags() & Scope::SEHExceptScope; }
447 return getFlags() & Scope::CompoundStmtScope;
tools/clang/lib/Parse/ParseDecl.cpp 3103 = (getCurScope()->getFlags() & (Scope::ControlScope |
4385 bool CanBeBitfield = getCurScope()->getFlags() & Scope::ClassScope;
4764 bool CanBeBitfield = getCurScope()->getFlags() & Scope::ClassScope;
6411 if (getCurScope()->getFlags() & Scope::FunctionDeclarationScope &&
tools/clang/lib/Parse/ParseDeclCXX.cpp 3198 if ((S->getFlags() & Scope::FnScope))
3262 ParseScope InheritanceScope(this, getCurScope()->getFlags() |
tools/clang/lib/Parse/ParseStmt.cpp 527 ParseScopeFlags FilterScope(this, getCurScope()->getFlags() |
tools/clang/lib/Parse/ParseTemplate.cpp 150 unsigned NewFlags = getCurScope()->getFlags() & ~Scope::TemplateParamScope;
tools/clang/lib/Parse/Parser.cpp 399 OldFlags = CurScope->getFlags();
2044 if (S->getFlags() & Scope::FnScope) {
2051 if (S->getFlags() & Scope::ClassScope) {
tools/clang/lib/Sema/IdentifierResolver.cpp 124 if (S->getParent()->getFlags() & Scope::ControlScope) {
129 if (S->getFlags() & Scope::FnTryCatchScope)
tools/clang/lib/Sema/Scope.cpp 45 Flags |= parent->getFlags() & OpenMPSimdDirectiveScope;
78 else if ((flags & ClassScope) && getParent()->getFlags() == DeclScope)
139 unsigned Flags = getFlags();
tools/clang/lib/Sema/Sema.cpp 1622 if (S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope))
tools/clang/lib/Sema/SemaChecking.cpp 467 if (!S || !(S->getFlags() & NeededScopeFlags)) {
tools/clang/lib/Sema/SemaCodeComplete.cpp 2082 !(S->getFlags() & Scope::ClassInheritanceScope);
4202 (S->getFlags() & Scope::DeclScope) != 0 &&
4203 (S->getFlags() & (Scope::ClassScope | Scope::TemplateParamScope |
tools/clang/lib/Sema/SemaCoroutine.cpp 666 while (S && !(S->getFlags() & Scope::FnScope)) {
667 if (S->getFlags() & Scope::CatchScope)
tools/clang/lib/Sema/SemaDecl.cpp 1885 assert((S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) &&
1985 while (((S->getFlags() & Scope::DeclScope) == 0) ||
5534 while ((S->getFlags() & Scope::DeclScope) == 0 ||
5535 (S->getFlags() & Scope::TemplateParamScope) != 0)
8557 ((S->getFlags() & Scope::DeclScope) == 0) ||
tools/clang/lib/Sema/SemaDeclAttr.cpp 2078 if (!(Scope->getFlags() & clang::Scope::FunctionDeclarationScope)) {
tools/clang/lib/Sema/SemaDeclCXX.cpp 9842 assert(S->getFlags() & Scope::DeclScope && "Invalid Scope.");
9932 assert(S->getFlags() & Scope::DeclScope && "Invalid Scope.");
10968 assert((S->getFlags() & Scope::DeclScope) &&
tools/clang/lib/Sema/SemaExpr.cpp12050 const unsigned ScopeFlags = getCurScope()->getFlags();
tools/clang/lib/Sema/SemaExprCXX.cpp 744 if (S->getFlags() &
tools/clang/lib/Sema/SemaExprMember.cpp 931 if (S->getFlags() & Scope::FnTryCatchScope)
932 return (S->getFlags() & Scope::TryScope) != Scope::TryScope;
tools/clang/lib/Sema/SemaLookup.cpp 1925 while (!(S->getFlags() & Scope::DeclScope) ||
tools/clang/lib/Sema/SemaStmt.cpp 1751 if (BreakParent->getFlags() & Scope::SwitchScope) {
tools/clang/lib/Sema/SemaTemplate.cpp 1678 while ((Outer->getFlags() & Scope::TemplateParamScope) != 0)
7378 while ((S->getFlags() & Scope::DeclScope) == 0 ||
7379 (S->getFlags() & Scope::TemplateParamScope) != 0)
9380 while ((S->getFlags() & Scope::DeclScope) == 0 ||
9381 (S->getFlags() & Scope::TemplateParamScope) != 0)