|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/include/clang/AST/DeclBase.h 383 TopLevelDeclInObjCContainer(false), Access(AS_none), FromASTFile(0),
392 Access(AS_none), FromASTFile(0),
tools/clang/include/clang/AST/DeclCXX.h 228 if ((AccessSpecifier)Access == AS_none)
1668 assert(DeclAccess != AS_none);
1669 if (DeclAccess == AS_private) return AS_none;
tools/clang/include/clang/AST/UnresolvedSet.h 89 addDecl(D, AS_none);
tools/clang/include/clang/Parse/Parser.h 1492 AccessSpecifier AS = AS_none);
2161 AccessSpecifier AS = AS_none,
2169 DeclSpec &DS, AccessSpecifier AS = AS_none,
2381 AccessSpecifier AS = AS_none,
2778 AccessSpecifier AS = AS_none);
2884 AccessSpecifier AS = AS_none);
3003 AccessSpecifier AS = AS_none);
3011 ParsedAttributes &AccessAttrs, AccessSpecifier AS = AS_none);
3054 AccessSpecifier AS = AS_none);
tools/clang/include/clang/Sema/Sema.h 4565 DeclAccessPair FoundDecl = DeclAccessPair::make(nullptr, AS_none),
tools/clang/lib/AST/DeclBase.cpp 939 assert(Access != AS_none &&
tools/clang/lib/AST/DeclCXX.cpp 965 case AS_none: llvm_unreachable("Invalid access specifier");
3077 case AS_none:
tools/clang/lib/AST/DeclPrinter.cpp 291 case AS_none: llvm_unreachable("No access specifier!");
979 if (AS != AS_none) {
tools/clang/lib/AST/JSONNodeDumper.cpp 461 case AS_none: return "none";
tools/clang/lib/AST/MicrosoftMangle.cpp 2347 case AS_none:
2993 case AS_none:
3021 case AS_none:
3035 case AS_none:
tools/clang/lib/AST/TextNodeDumper.cpp 436 case AS_none:
tools/clang/lib/CodeGen/CGDebugInfo.cpp 1222 AccessSpecifier Default = clang::AS_none;
1238 case clang::AS_none:
tools/clang/lib/Parse/ParseDecl.cpp 1819 ParseDeclarationSpecifiers(DS, ParsedTemplateInfo(), AS_none, DSContext);
1824 DiagnoseMissingSemiAfterTagDefinition(DS, AS_none, DSContext))
1834 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none,
4065 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none,
4170 AccessSpecifier AS = AS_none;
tools/clang/lib/Parse/ParseDeclCXX.cpp 503 AS_none);
2089 if (Access != AS_none)
2150 default: return AS_none;
3104 assert(NewAS != AS_none);
4366 if (AS != AS_none) {
tools/clang/lib/Parse/ParseExprCXX.cpp 1995 ParseSpecifierQualifierList(DS, AS_none, DeclSpecContext::DSC_condition);
2207 ParseSpecifierQualifierList(DS, AS_none, DeclSpecContext::DSC_type_specifier);
tools/clang/lib/Parse/ParseObjc.cpp 1260 ParseSpecifierQualifierList(declSpec, AS_none, dsContext);
tools/clang/lib/Parse/ParseOpenMP.cpp 1409 if (AS == AS_none) {
1449 if (AS == AS_none) {
1679 ParseOpenMPDeclareReductionDirective(/*AS=*/AS_none)) {
1697 ParseOpenMPDeclareMapperDirective(/*AS=*/AS_none)) {
tools/clang/lib/Parse/ParseTemplate.cpp 788 ParseDeclarationSpecifiers(DS, ParsedTemplateInfo(), AS_none,
tools/clang/lib/Parse/Parser.cpp 759 AccessSpecifier AS = AS_none;
1040 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none,
tools/clang/lib/Sema/SemaAccess.cpp 50 if (LexicalAS != AS_none && LexicalAS != PrevMemberDecl->getAccess()) {
942 assert(FinalAccess != AS_none && "forbidden access after declaring class");
957 assert(PathAccess != AS_none);
963 PathAccess = AS_none;
1195 assert(accessSoFar != AS_none && accessSoFar != AS_private);
1251 << (base->getAccessSpecifierAsWritten() == AS_none);
1326 if (UnprivilegedAccess != AS_none) {
1802 Found.getAccess() == AS_none ||
1902 DeclAccessPair::make(Target, AS_none), BaseType);
tools/clang/lib/Sema/SemaDecl.cpp 4741 if (AS != AS_none) IndirectField->setAccess(AS);
4903 assert(FD->getAccess() != AS_none);
5122 AS_none, Chain)) {
15323 AS = AS_none;
tools/clang/lib/Sema/SemaDeclCXX.cpp 2953 assert(Access != AS_none && "Invalid kind for syntactic access specifier!");
3109 assert(Field->getAccess() != AS_none);
3131 if (AS_none !=
tools/clang/lib/Sema/SemaExpr.cpp 2031 FTD, DeclAccessPair::make(FTD, AS_none), ExplicitTemplateArgs,
2035 AddOverloadCandidate(FD, DeclAccessPair::make(FD, AS_none),
4999 S.AddOverloadCandidate(FD, DeclAccessPair::make(FD, AS_none), Args,
tools/clang/lib/Sema/SemaLookup.cpp 2324 AccessSpecifier SubobjectAccess = AS_none;
tools/clang/lib/Sema/SemaOverload.cpp 7489 Candidate.FoundDecl = DeclAccessPair::make(nullptr, AS_none);
9159 DeclAccessPair FoundDecl = DeclAccessPair::make(*I, AS_none);
tools/clang/lib/Sema/SemaTemplate.cpp 1682 if (PrevClassTemplate && PrevClassTemplate->getAccess() != AS_none) {
7864 AS_none, /*ModulePrivateLoc=*/SourceLocation(),
9256 KWLoc, SS, Name, NameLoc, Attr, AS_none,
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp 1679 if (D->getAccess() != AS_none)
tools/clang/lib/Serialization/ASTReader.cpp10607 case AS_none:
tools/clang/lib/Serialization/ASTWriterDecl.cpp 458 D->getAccess() == AS_none &&
495 D->getAccess() == AS_none &&
1032 D->getAccess() == AS_none &&
1082 D->getAccess() == AS_none &&
1099 assert(D->getAccess() == AS_none && "PARM_VAR_DECL can't be public/private");
1932 Abv->Add(BitCodeAbbrevOp(AS_none)); // C++ AccessSpecifier
1982 Abv->Add(BitCodeAbbrevOp(AS_none)); // C++ AccessSpecifier
2044 Abv->Add(BitCodeAbbrevOp(AS_none)); // C++ AccessSpecifier
2121 Abv->Add(BitCodeAbbrevOp(AS_none)); // C++ AccessSpecifier
tools/clang/tools/extra/clang-doc/BitcodeReader.cpp 57 case AS_none:
tools/clang/tools/extra/clang-doc/Generators.cpp 38 case AccessSpecifier::AS_none:
tools/clang/tools/extra/clang-doc/Serialize.cpp 260 if (FirstAS == AccessSpecifier::AS_none ||
261 SecondAS == AccessSpecifier::AS_none)
262 return AccessSpecifier::AS_none;
568 Func.Access = clang::AccessSpecifier::AS_none;
tools/clang/tools/extra/clang-doc/YAMLGenerator.cpp 38 IO.enumCase(Value, "None", clang::AccessSpecifier::AS_none);
194 IO.mapOptional("Access", I.Access, clang::AccessSpecifier::AS_none);
220 IO.mapOptional("Access", I.Access, clang::AccessSpecifier::AS_none);
243 IO.mapOptional("Access", I.Access, clang::AccessSpecifier::AS_none);
tools/clang/tools/extra/unittests/clang-doc/BitcodeTest.cpp 113 I.Access = AccessSpecifier::AS_none;
tools/clang/tools/extra/unittests/clang-doc/HTMLGeneratorTest.cpp 51 I.ChildFunctions.back().Access = AccessSpecifier::AS_none;
275 I.Access = AccessSpecifier::AS_none;
376 I.Access = AccessSpecifier::AS_none;
tools/clang/tools/extra/unittests/clang-doc/MDGeneratorTest.cpp 34 I.ChildFunctions.back().Access = AccessSpecifier::AS_none;
157 I.Access = AccessSpecifier::AS_none;
219 I.Access = AccessSpecifier::AS_none;
tools/clang/tools/extra/unittests/clang-doc/SerializeTest.cpp 106 F.Access = AccessSpecifier::AS_none;
327 F.Access = AccessSpecifier::AS_none;
343 F.Access = AccessSpecifier::AS_none;
500 F.Access = AccessSpecifier::AS_none;
511 ExportedF.Access = AccessSpecifier::AS_none;
tools/clang/tools/extra/unittests/clang-doc/YAMLGeneratorTest.cpp 37 I.ChildFunctions.back().Access = AccessSpecifier::AS_none;
183 I.Access = AccessSpecifier::AS_none;
273 I.Access = AccessSpecifier::AS_none;
tools/clang/tools/libclang/CIndexCXX.cpp 31 AccessSpecifier spec = AS_none;
44 case AS_none: return CX_CXXInvalidAccessSpecifier;
tools/lldb/source/Symbol/ClangASTContext.cpp 426 return AS_none;
434 return AS_none;
1695 if (lhs == AS_none || rhs == AS_none)
1695 if (lhs == AS_none || rhs == AS_none)
1696 return AS_none;
2542 assigned_accessibilities[field_idx] == clang::AS_none)
tools/lldb/unittests/Symbol/TestClangASTContext.cpp 269 EXPECT_EQ(AS_none,
271 EXPECT_EQ(AS_none, ClangASTContext::ConvertAccessTypeToAccessSpecifier(
305 EXPECT_EQ(AS_none,
306 ClangASTContext::UnifyAccessSpecifiers(AS_none, AS_public));
307 EXPECT_EQ(AS_none,
308 ClangASTContext::UnifyAccessSpecifiers(AS_none, AS_protected));
309 EXPECT_EQ(AS_none,
310 ClangASTContext::UnifyAccessSpecifiers(AS_none, AS_private));
311 EXPECT_EQ(AS_none,
312 ClangASTContext::UnifyAccessSpecifiers(AS_public, AS_none));
313 EXPECT_EQ(AS_none,
314 ClangASTContext::UnifyAccessSpecifiers(AS_protected, AS_none));
315 EXPECT_EQ(AS_none,
316 ClangASTContext::UnifyAccessSpecifiers(AS_private, AS_none));