Home
last modified time | relevance | path

Searched refs:ClassScope (Results 1 – 24 of 24) sorted by relevance

/external/clang/lib/Sema/
DScope.cpp43 if ((Flags & (FnScope | ClassScope | BlockScope | TemplateParamScope | in setFlags()
61 if (Flags & (ClassScope | FnScope)) { in setFlags()
77 else if ((flags & ClassScope) && getParent()->isClassScope()) in setFlags()
79 else if ((flags & ClassScope) && getParent()->getFlags() == DeclScope) in setFlags()
162 } else if (Flags & ClassScope) { in dumpImpl()
164 Flags &= ~ClassScope; in dumpImpl()
DSemaExprCXX.cpp667 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | in ActOnCXXThrow()
DSemaCodeComplete.cpp3470 (S->getFlags() & (Scope::ClassScope | Scope::TemplateParamScope | in CodeCompleteDeclSpec()
/external/llvm-project/clang/lib/Sema/
DScope.cpp42 if ((Flags & (FnScope | ClassScope | BlockScope | TemplateParamScope | in setFlags()
60 if (Flags & (ClassScope | FnScope)) { in setFlags()
76 else if ((flags & ClassScope) && getParent()->isClassScope()) in setFlags()
78 else if ((flags & ClassScope) && getParent()->getFlags() == DeclScope) in setFlags()
151 {ClassScope, "ClassScope"}, in dumpImpl()
DSemaExprCXX.cpp824 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | in ActOnCXXThrow()
DSemaCodeComplete.cpp4266 (S->getFlags() & (Scope::ClassScope | Scope::TemplateParamScope | in CodeCompleteDeclSpec()
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dcppcoreguidelines-interfaces-global-init.cpp23 static int ClassScope; member
30 static int FromClassBadInit = takesInt(A::ClassScope);
/external/clang/include/clang/Sema/
DScope.h64 ClassScope = 0x20, enumerator
327 return (getFlags() & Scope::ClassScope); in isClassScope()
385 else if (S->getFlags() & (Scope::FnScope | Scope::ClassScope | in isSwitchScope()
/external/llvm-project/clang/include/clang/Sema/
DScope.h65 ClassScope = 0x20, enumerator
354 return (getFlags() & Scope::ClassScope); in isClassScope()
417 else if (S->getFlags() & (Scope::FnScope | Scope::ClassScope | in isSwitchScope()
/external/python/pybind11/tests/
Dtest_class.py453 class ClassScope: class
457 m.register_duplicate_nested_class_name(ClassScope)
464 m.register_duplicate_nested_class_type(ClassScope)
/external/clang/lib/Parse/
DParseCXXInlineMethods.cpp287 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope, in ParseLexedMethodDeclarations() local
486 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope, in ParseLexedMethodDefs() local
593 unsigned ScopeFlags = Scope::ClassScope|Scope::DeclScope; in ParseLexedMemberInitializers()
594 ParseScope ClassScope(this, ScopeFlags, !AlreadyHasClassScope); in ParseLexedMemberInitializers() local
DParseDeclCXX.cpp2812 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope); in SkipCXXMemberSpecification() local
2983 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope); in ParseCXXMemberSpecification() local
3151 ClassScope.Exit(); in ParseCXXMemberSpecification()
DParseDecl.cpp1169 unsigned ScopeFlags = Scope::ClassScope|Scope::DeclScope; in ParseLexedAttributes()
1170 ParseScope ClassScope(this, ScopeFlags, !AlreadyHasClassScope); in ParseLexedAttributes() local
3673 ParseScope StructScope(this, Scope::ClassScope|Scope::DeclScope); in ParseStructUnionBody()
3922 bool CanBeBitfield = getCurScope()->getFlags() & Scope::ClassScope; in ParseEnumSpecifier()
4291 bool CanBeBitfield = getCurScope()->getFlags() & Scope::ClassScope; in ParseEnumBody()
DParseObjc.cpp1927 ParseScope ClassScope(this, Scope::DeclScope|Scope::ClassScope); in ParseObjCClassInstanceVariables() local
DParser.cpp1863 if (S->getFlags() & Scope::ClassScope) { in handleUnexpectedCodeCompletionToken()
/external/python/cpython2/Lib/compiler/
Dsymbols.py154 or isinstance(self, ClassScope):
206 class ClassScope(Scope): class
296 scope = ClassScope(node.name, self.module)
/external/llvm-project/clang-tools-extra/clangd/
DQuality.h117 ClassScope, enumerator
DQuality.cpp282 return SymbolRelevanceSignals::ClassScope; in computeScope()
405 case ClassScope: in evaluateHeuristics()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DQualityTests.cpp166 EXPECT_EQ(Relevance.Scope, SymbolRelevanceSignals::ClassScope); in TEST()
/external/llvm-project/clang/lib/Parse/
DParseDeclCXX.cpp3066 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope); in SkipCXXMemberSpecification() local
3251 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope); in ParseCXXMemberSpecification() local
3435 ClassScope.Exit(); in ParseCXXMemberSpecification()
DParseCXXInlineMethods.cpp304 Scopes.Enter(Scope::ClassScope|Scope::DeclScope); in ReenterClassScopeRAII()
DParseObjc.cpp1909 ParseScope ClassScope(this, Scope::DeclScope|Scope::ClassScope); in ParseObjCClassInstanceVariables() local
DParseDecl.cpp4203 ParseScope StructScope(this, Scope::ClassScope|Scope::DeclScope); in ParseStructUnionBody()
4459 bool CanBeBitfield = (getCurScope()->getFlags() & Scope::ClassScope) && in ParseEnumSpecifier()
4856 bool CanBeBitfield = getCurScope()->getFlags() & Scope::ClassScope; in ParseEnumBody()
DParser.cpp2123 if (S->getFlags() & Scope::ClassScope) { in handleUnexpectedCodeCompletionToken()