/external/clang/lib/Sema/ |
D | SemaAccess.cpp | 741 if (Access == AS_public) return AR_accessible; in HasAccess() 981 PathAccess = AS_public; in FindBestPath() 1000 if (BestPath->Access == AS_public) in FindBestPath() 1007 assert((!BestPath || BestPath->Access != AS_public) && in FindBestPath() 1165 AccessSpecifier accessSoFar = AS_public; in DiagnoseAccessPath() 1177 accessSoFar = AS_public; in DiagnoseAccessPath() 1194 assert(path.Access != AS_public); in DiagnoseAccessPath() 1219 accessSoFar = AS_public; in DiagnoseAccessPath() 1306 (OrigDecl->getAccess() == AS_public || in IsMicrosoftUsingDeclarationAccessBug() 1326 assert(UnprivilegedAccess != AS_public && "public access not weeded out"); in IsAccessible() [all …]
|
D | SemaLambda.cpp | 396 Method->setAccess(AS_public); in startLambdaDefinition() 409 TemplateMethod->setAccess(AS_public); in startLambdaDefinition() 1259 Conversion->setAccess(AS_public); in addFunctionPointerConversion() 1272 ConversionTemplate->setAccess(AS_public); in addFunctionPointerConversion() 1361 Conversion->setAccess(AS_public); in addBlockPointerConversion()
|
D | SemaDeclCXX.cpp | 1607 KnownBase->getAccessSpecifier() != AS_public)) { in AttachBaseSpecifiers() 2030 else if (AS != AS_public) in ActOnCXXMemberDeclarator() 3488 : cast<ValueDecl>(Field), AS_public); in BuildImplicitMemberInitializer() 4950 if ((!dtor || (!dtor->isVirtual() && dtor->getAccess() == AS_public)) && in CheckCompletedCXXClass() 8909 DefaultCon->setAccess(AS_public); in DeclareImplicitDefaultConstructor() 9375 Destructor->setAccess(AS_public); in DeclareImplicitDestructor() 9814 L.setAccess(AS_public); in buildSingleCopyAssignRecursively() 10053 CopyAssignment->setAccess(AS_public); in DeclareImplicitCopyAssignment() 10444 MoveAssignment->setAccess(AS_public); in DeclareImplicitMoveAssignment() 10880 CopyConstructor->setAccess(AS_public); in DeclareImplicitCopyConstructor() [all …]
|
D | SemaTemplateInstantiateDecl.cpp | 733 FD->setAccess(AS_public); in VisitFriendDecl() 752 FD->setAccess(AS_public); in VisitFriendDecl() 1948 Inst->setAccess(AS_public); in VisitTemplateTypeParmDecl() 2102 Param->setAccess(AS_public); in VisitNonTypeTemplateParmDecl() 2247 Param->setAccess(AS_public); in VisitTemplateTemplateParmDecl() 2474 TD->setAccess(AS_public); in VisitOMPThreadPrivateDecl()
|
D | SemaLookup.cpp | 2874 AddMethodCandidate(M, DeclAccessPair::make(M, AS_public), RD, ThisTy, in LookupSpecialMember() 2878 AddOverloadCandidate(M, DeclAccessPair::make(M, AS_public), in LookupSpecialMember() 2883 AddMethodTemplateCandidate(Tmpl, DeclAccessPair::make(Tmpl, AS_public), in LookupSpecialMember() 2888 AddTemplateOverloadCandidate(Tmpl, DeclAccessPair::make(Tmpl, AS_public), in LookupSpecialMember()
|
D | SemaTemplate.cpp | 121 filter.replace(Repl, AS_public); in FilterAcceptableTemplateNames() 569 Param->setAccess(AS_public); in ActOnTypeParameter() 691 Param->setAccess(AS_public); in ActOnNonTypeTemplateParameter() 757 Param->setAccess(AS_public); in ActOnTemplateTemplateParameter() 1170 Friend->setAccess(AS_public); in CheckClassTemplate() 6527 Friend->setAccess(AS_public); in ActOnClassTemplateSpecialization()
|
D | SemaDecl.cpp | 4206 if (FD->getAccess() != AS_public) { in BuildAnonymousStructOrUnion() 7726 FunctionTemplate->setAccess(AS_public); in ActOnFunctionDeclarator() 7729 NewFD->setAccess(AS_public); in ActOnFunctionDeclarator() 8076 AccessSpecifier Access = AS_public; in ActOnFunctionDeclarator() 8114 NewFD->setAccess(AS_public); in ActOnFunctionDeclarator() 12717 InjectedClassName->setAccess(AS_public); in ActOnStartCXXMemberDeclarations() 12885 /*InitStyle=*/ICIS_NoInit, AS_public); in ActOnField()
|
D | SemaExprCXX.cpp | 706 bool PublicPath = ParentIsPublic && BS.getAccessSpecifier() == AS_public; in collectPublicBases() 3886 if (C.getLangOpts().AccessControl && Destructor->getAccess() != AS_public) in EvaluateUnaryTypeTrait()
|
D | SemaStmt.cpp | 3555 if (S->getAccessSpecifier() == AccessSpecifier::AS_public) { in operator ()()
|
/external/clang/include/clang/AST/ |
D | CXXInheritance.h | 71 CXXBasePath() : Access(AS_public) {} in CXXBasePath() 84 Access = AS_public; in clear()
|
D | DeclCXX.h | 235 return BaseOfClass? AS_private : AS_public; in getAccessSpecifier()
|
/external/clang/include/clang/Basic/ |
D | Specifiers.h | 86 AS_public, enumerator
|
/external/clang/tools/libclang/ |
D | CIndexCXX.cpp | 44 case AS_public: return CX_CXXPublic; in clang_getCXXAccessSpecifier()
|
/external/clang/lib/AST/ |
D | MicrosoftMangle.cpp | 452 case AS_public: Out << '2'; break; in mangleVariableEncoding() 1913 case AS_public: in mangleFunctionClass() 2402 case AS_public: in mangleThunkThisAdjustment() 2430 case AS_public: in mangleThunkThisAdjustment() 2444 case AS_public: in mangleThunkThisAdjustment()
|
D | DeclCXX.cpp | 650 case AS_public: data().HasPublicFields = true; break; in addedMember() 954 if (!D->isTrivial() || D->getAccess() != AS_public || D->isDeleted()) in finishedDefaultedOrDeletedMember() 2216 case AS_public: in getAccessName()
|
D | ASTContext.cpp | 504 if (I.isVirtual() || (I.getAccessSpecifier() != AS_public)) in getCommentForDecl() 519 if (I.getAccessSpecifier() != AS_public) in getCommentForDecl() 4856 Field->setAccess(AS_public); in getCFConstantStringType() 4905 Field->setAccess(AS_public); in getBlockDescriptorType() 4945 Field->setAccess(AS_public); in getBlockDescriptorExtendedType() 6144 Field->setAccess(AS_public); in CreateAArch64ABIBuiltinVaListDecl() 6196 Field->setAccess(AS_public); in CreatePowerABIBuiltinVaListDecl() 6256 Field->setAccess(AS_public); in CreateX86_64ABIBuiltinVaListDecl() 6310 Field->setAccess(AS_public); in CreateAAPCSABIBuiltinVaListDecl() 6359 Field->setAccess(AS_public); in CreateSystemZBuiltinVaListDecl()
|
D | DeclBase.cpp | 118 setAccess(AS_public); in setInvalidDecl()
|
D | DeclPrinter.cpp | 261 case AS_public: Out << "public"; break; in Print()
|
D | ASTDumper.cpp | 864 case AS_public: in dumpAccessSpecifier()
|
/external/clang/lib/CodeGen/ |
D | CGDebugInfo.cpp | 875 Default = clang::AS_public; in getAccessFlag() 885 case clang::AS_public: in getAccessFlag() 3170 fields.push_back(createFieldType("__isa", C.VoidPtrTy, 0, loc, AS_public, in EmitDeclareOfBlockLiteralArgVariable() 3173 fields.push_back(createFieldType("__flags", C.IntTy, 0, loc, AS_public, in EmitDeclareOfBlockLiteralArgVariable() 3176 fields.push_back(createFieldType("__reserved", C.IntTy, 0, loc, AS_public, in EmitDeclareOfBlockLiteralArgVariable() 3181 fields.push_back(createFieldType("__FuncPtr", FnPtrType, 0, loc, AS_public, in EmitDeclareOfBlockLiteralArgVariable() 3188 0, loc, AS_public, blockLayout->getElementOffsetInBits(4), tunit, tunit)); in EmitDeclareOfBlockLiteralArgVariable() 3234 fields.push_back(createFieldType("this", type, 0, loc, AS_public, in EmitDeclareOfBlockLiteralArgVariable() 3254 fieldType = createFieldType(name, variable->getType(), 0, loc, AS_public, in EmitDeclareOfBlockLiteralArgVariable()
|
D | ItaniumCXXABI.cpp | 1160 if (Path.Access != AS_public) // Ignore non-public inheritance. in computeOffsetHint() 2676 if (Base->getAccessSpecifier() != AS_public) in CanUseSingleInheritance() 3229 if (Base.getAccessSpecifier() == AS_public) in BuildVMIClassTypeInfo()
|
D | CodeGenModule.cpp | 3017 Field->setAccess(AS_public); in GetAddrOfConstantString() 3095 Field->setAccess(AS_public); in getObjCFastEnumerationStateType()
|
/external/lldb/source/Symbol/ |
D | ClangASTContext.cpp | 89 case eAccessPublic: return AS_public; in ConvertAccessTypeToAccessSpecifier() 1661 case clang::AS_public: in UnifyAccessSpecifiers() 2080 enum_decl->setAccess(AS_public); // TODO respect what's in the debug info in CreateEnumerationType()
|
/external/clang/lib/Parse/ |
D | ParseDeclCXX.cpp | 1940 case tok::kw_public: return AS_public; in getAccessSpecifierIfPresent() 2896 if (TagType == DeclSpec::TST_interface && AS != AS_public) { in ParseCXXClassMemberDeclarationWithPragmas() 3072 CurAS = AS_public; in ParseCXXMemberSpecification()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 452 return Node.getAccess() == AS_public; in AST_MATCHER()
|