|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/include/clang/AST/CXXInheritance.h 75 AccessSpecifier Access = AS_public;
85 Access = AS_public;
tools/clang/include/clang/AST/DeclCXX.h 229 return BaseOfClass? AS_private : AS_public;
tools/clang/include/clang/ASTMatchers/ASTMatchers.h 541 return Node.getAccess() == AS_public;
tools/clang/lib/AST/ASTContext.cpp 592 if (I.isVirtual() || (I.getAccessSpecifier() != AS_public))
607 if (I.getAccessSpecifier() != AS_public)
6032 Field->setAccess(AS_public);
6098 Field->setAccess(AS_public);
6138 Field->setAccess(AS_public);
7414 Field->setAccess(AS_public);
7466 Field->setAccess(AS_public);
7526 Field->setAccess(AS_public);
7579 Field->setAccess(AS_public);
7629 Field->setAccess(AS_public);
tools/clang/lib/AST/DeclBase.cpp 143 setAccess(AS_public);
tools/clang/lib/AST/DeclCXX.cpp 257 if (Base->getAccessSpecifier() != AS_public)
964 case AS_public: data().HasPublicFields = true; break;
1347 if (!D->isTrivial() || D->getAccess() != AS_public || D->isDeleted())
1853 if (BaseSpec.isVirtual() || BaseSpec.getAccessSpecifier() != AS_public)
3079 case AS_public:
tools/clang/lib/AST/DeclPrinter.cpp 292 case AS_public: Out << "public"; break;
tools/clang/lib/AST/ExprConstant.cpp 5177 return BaseSpec.getAccessSpecifier() == AS_public;
5235 assert(Paths->front().Access != AS_public && "why did the cast fail?");
5265 Paths.front().Access == AS_public) {
tools/clang/lib/AST/JSONNodeDumper.cpp 464 case AS_public: return "public";
tools/clang/lib/AST/MicrosoftMangle.cpp 548 case AS_public: Out << '2'; break;
2365 case AS_public:
3001 case AS_public:
3029 case AS_public:
3043 case AS_public:
3069 AccessSpecifier AS = Thunk.Return.isEmpty() ? MD->getAccess() : AS_public;
tools/clang/lib/AST/TextNodeDumper.cpp 438 case AS_public:
tools/clang/lib/Analysis/BodyFarm.cpp 217 DeclAccessPair FoundDecl = DeclAccessPair::make(MemberDecl, AS_public);
tools/clang/lib/CodeGen/CGDebugInfo.cpp 1226 Default = clang::AS_public;
1236 case clang::AS_public:
4182 Fields.push_back(createFieldType("__size", Context.IntTy, Loc, AS_public,
4185 Fields.push_back(createFieldType("__align", Context.IntTy, Loc, AS_public,
4189 Fields.push_back(createFieldType("__isa", Context.VoidPtrTy, Loc, AS_public,
4192 Fields.push_back(createFieldType("__flags", Context.IntTy, Loc, AS_public,
4196 createFieldType("__reserved", Context.IntTy, Loc, AS_public,
4200 Fields.push_back(createFieldType("__FuncPtr", FnPtrType, Loc, AS_public,
4208 Loc, AS_public, BlockLayout.getElementOffsetInBits(4), Unit, Unit));
4284 fields.push_back(createFieldType("this", type, loc, AS_public,
4306 fieldType = createFieldType(name, variable->getType(), loc, AS_public,
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 1236 Field->setAccess(AS_public);
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp 274 Field->setAccess(AS_public);
290 Field->setAccess(AS_public);
5093 Field->setAccess(AS_public);
5118 Field->setAccess(AS_public);
5180 Field->setAccess(AS_public);
tools/clang/lib/CodeGen/CodeGenModule.cpp 4833 Field->setAccess(AS_public);
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 1326 if (Path.Access != AS_public) // Ignore non-public inheritance.
3134 if (Base->getAccessSpecifier() != AS_public)
3725 if (Base.getAccessSpecifier() == AS_public)
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp 3457 if (Specifier->getAccessSpecifier() != AS_public)
tools/clang/lib/Parse/ParseDeclCXX.cpp 2153 case tok::kw_public: return AS_public;
3126 if (TagType == DeclSpec::TST_interface && AS != AS_public) {
3322 CurAS = AS_public;
tools/clang/lib/Sema/SemaAccess.cpp 735 if (Access == AS_public) return AR_accessible;
975 PathAccess = AS_public;
994 if (BestPath->Access == AS_public)
1001 assert((!BestPath || BestPath->Access != AS_public) &&
1159 AccessSpecifier accessSoFar = AS_public;
1171 accessSoFar = AS_public;
1188 assert(path.Access != AS_public);
1213 accessSoFar = AS_public;
1300 (OrigDecl->getAccess() == AS_public ||
1320 assert(UnprivilegedAccess != AS_public && "public access not weeded out");
1363 FinalAccess = AS_public;
1371 return (FinalAccess == AS_public ? AR_accessible : AR_inaccessible);
1373 FinalAccess = AS_public;
1386 if (Path->Access == AS_public)
1413 assert(Entity.getAccess() != AS_public && "called for public access!");
1439 if (Entity.getAccess() == AS_public)
1534 Found.getAccess() == AS_public)
1549 Found.getAccess() == AS_public)
1569 if (access == AS_public || !getLangOpts().AccessControl) return true;
1595 if (Access == AS_public)
1615 if (!getLangOpts().AccessControl || Found.getAccess() == AS_public)
1659 Found.getAccess() == AS_public)
1702 Found.getAccess() == AS_public)
1720 Found.getAccess() == AS_public)
1735 Field.getAccess() == AS_public)
1752 Found.getAccess() == AS_public)
1775 if (!getLangOpts().AccessControl || access == AS_public)
1803 Found.getAccess() == AS_public)
1833 if (Path.Access == AS_public)
1864 if (I.getAccess() != AS_public) {
tools/clang/lib/Sema/SemaDecl.cpp 4904 if (FD->getAccess() != AS_public) {
8850 FunctionTemplate->setAccess(AS_public);
8853 NewFD->setAccess(AS_public);
9257 AccessSpecifier Access = AS_public;
9295 NewFD->setAccess(AS_public);
15696 InjectedClassName->setAccess(AS_public);
15865 /*InitStyle=*/ICIS_NoInit, AS_public);
tools/clang/lib/Sema/SemaDeclCXX.cpp 1264 AccessSpecifier AS = AS_public;
1277 return DeclAccessPair::make(const_cast<CXXRecordDecl*>(RD), AS_public);
2669 KnownBase->getAccessSpecifier() != AS_public)) {
3180 else if (AS != AS_public)
4623 : cast<ValueDecl>(Field), AS_public);
6353 if ((!dtor || (!dtor->isVirtual() && dtor->getAccess() == AS_public)) &&
11461 DefaultCon->setAccess(AS_public);
11738 Destructor->setAccess(AS_public);
12167 L.setAccess(AS_public);
12356 CopyAssignment->setAccess(AS_public);
12677 MoveAssignment->setAccess(AS_public);
13059 CopyConstructor->setAccess(AS_public);
13191 MoveConstructor->setAccess(AS_public);
14614 NameLoc, Attr, TemplateParams, AS_public,
14646 Attr, AS_public,
14680 Friend->setAccess(AS_public);
14704 Friend->setAccess(AS_public);
14812 D->setAccess(AS_public);
15093 FrD->setAccess(AS_public);
tools/clang/lib/Sema/SemaExprCXX.cpp 832 bool PublicPath = ParentIsPublic && BS.getAccessSpecifier() == AS_public;
2597 DeclAccessPair::make(OperatorDelete, AS_public));
3365 DeclAccessPair::make(OperatorDelete, AS_public))
4737 if (C.getLangOpts().AccessControl && Destructor->getAccess() != AS_public)
tools/clang/lib/Sema/SemaLambda.cpp 399 Method->setAccess(AS_public);
413 TemplateMethod->setAccess(AS_public);
1377 Conversion->setAccess(AS_public);
1390 ConversionTemplate->setAccess(AS_public);
1462 Conversion->setAccess(AS_public);
tools/clang/lib/Sema/SemaLookup.cpp 3218 DeclAccessPair Cand = DeclAccessPair::make(CandDecl, AS_public);
tools/clang/lib/Sema/SemaOpenMP.cpp 2498 D->setAccess(AS_public);
2659 D->setAccess(AS_public);
tools/clang/lib/Sema/SemaOverload.cpp13374 DeclAccessPair FoundDecl = DeclAccessPair::make(nullptr, AS_public);
tools/clang/lib/Sema/SemaStmt.cpp 4039 if (S->getAccessSpecifier() == AccessSpecifier::AS_public) {
tools/clang/lib/Sema/SemaTemplate.cpp 993 Param->setAccess(AS_public);
1198 Param->setAccess(AS_public);
1268 Param->setAccess(AS_public);
1700 Friend->setAccess(AS_public);
2028 Guide->setAccess(AS_public);
2029 GuideTemplate->setAccess(AS_public);
4099 DeclAccessPair::make(Template, AS_public), Partial,
8025 Friend->setAccess(AS_public);
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp 2523 DeclAccessPair::make(Template, AS_public), Partial,
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp 1115 FD->setAccess(AS_public);
1134 FD->setAccess(AS_public);
2410 Inst->setAccess(AS_public);
2557 Param->setAccess(AS_public);
2701 Param->setAccess(AS_public);
2992 TD->setAccess(AS_public);
tools/clang/lib/Serialization/ASTReader.cpp10601 case AS_public:
tools/clang/lib/StaticAnalyzer/Checkers/IteratorChecker.cpp 1666 HasCopyCtor = !Ctor->isDeleted() && Ctor->getAccess() == AS_public;
1671 HasDtor = !Dtor->isDeleted() && Dtor->getAccess() == AS_public;
1675 HasCopyAssign = !Method->isDeleted() && Method->getAccess() == AS_public;
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp 527 if (FD->getAccess() == AccessSpecifier::AS_public)
tools/clang/tools/extra/clang-doc/BitcodeReader.cpp 54 case AS_public:
tools/clang/tools/extra/clang-doc/Generators.cpp 32 case AccessSpecifier::AS_public:
tools/clang/tools/extra/clang-doc/Representation.h 206 AccessSpecifier Access = AccessSpecifier::AS_public;
321 AccessSpecifier Access = AccessSpecifier::AS_public;
372 AccessSpecifier Access = AccessSpecifier::AS_public;
tools/clang/tools/extra/clang-doc/Serialize.cpp 269 return AccessSpecifier::AS_public;
275 AccessSpecifier Access = AccessSpecifier::AS_public) {
437 AccessSpecifier ParentAccess = AccessSpecifier::AS_public) {
tools/clang/tools/extra/clang-doc/YAMLGenerator.cpp 35 IO.enumCase(Value, "Public", clang::AccessSpecifier::AS_public);
tools/clang/tools/extra/clang-tidy/bugprone/VirtualNearMissCheck.cpp 102 if (Path.Access == AS_public)
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp 483 if (Decl->getAccess() == AS_public && NamingStyles[SK_PublicMember])
612 if (Decl->getAccess() == AS_public && NamingStyles[SK_PublicMethod])
tools/clang/tools/extra/unittests/clang-doc/BitcodeTest.cpp 85 AccessSpecifier::AS_public, true);
135 I.Access = AccessSpecifier::AS_public;
tools/clang/tools/extra/unittests/clang-doc/SerializeTest.cpp 157 EConstructor.Access = AccessSpecifier::AS_public;
196 TemplateMethod.Access = AccessSpecifier::AS_public;
216 SpecializedTemplateMethod.Access = AccessSpecifier::AS_public;
283 ExpectedE.Members.emplace_back("int", "I", AccessSpecifier::AS_public);
386 AccessSpecifier::AS_public, true);
477 AccessSpecifier::AS_public, true);
tools/clang/tools/extra/unittests/clang-doc/YAMLGeneratorTest.cpp 88 AccessSpecifier::AS_public, true);
tools/clang/tools/libclang/CIndexCXX.cpp 41 case AS_public: return CX_CXXPublic;
tools/lldb/source/Symbol/ClangASTContext.cpp 428 return AS_public;
1701 return AS_public;
1943 var_decl->setAccess(clang::AS_public);
2253 enum_decl->setAccess(AS_public); // TODO respect what's in the debug info
4788 decl->setAccess(clang::AS_public); // TODO respect proper access specifier
4911 decl->setAccess(clang::AS_public); // TODO respect proper access specifier
tools/lldb/tools/lldb-instr/Instrument.cpp 286 if (AS != AccessSpecifier::AS_public)
tools/lldb/unittests/Symbol/TestClangASTContext.cpp 273 EXPECT_EQ(AS_public,
283 EXPECT_EQ(AS_public,
284 ClangASTContext::UnifyAccessSpecifiers(AS_public, AS_public));
284 ClangASTContext::UnifyAccessSpecifiers(AS_public, AS_public));
292 ClangASTContext::UnifyAccessSpecifiers(AS_private, AS_public));
296 ClangASTContext::UnifyAccessSpecifiers(AS_public, AS_private));
300 ClangASTContext::UnifyAccessSpecifiers(AS_protected, AS_public));
302 ClangASTContext::UnifyAccessSpecifiers(AS_public, AS_protected));
306 ClangASTContext::UnifyAccessSpecifiers(AS_none, AS_public));
312 ClangASTContext::UnifyAccessSpecifiers(AS_public, AS_none));