Home
last modified time | relevance | path

Searched refs:AS_protected (Results 1 – 25 of 33) sorted by relevance

12

/external/llvm-project/lldb/unittests/Symbol/
DTestTypeSystemClang.cpp340 EXPECT_EQ(AS_protected, TypeSystemClang::ConvertAccessTypeToAccessSpecifier( in TEST_F()
350 EXPECT_EQ(AS_protected, in TEST_F()
351 TypeSystemClang::UnifyAccessSpecifiers(AS_protected, AS_protected)); in TEST_F()
357 TypeSystemClang::UnifyAccessSpecifiers(AS_private, AS_protected)); in TEST_F()
361 TypeSystemClang::UnifyAccessSpecifiers(AS_protected, AS_private)); in TEST_F()
362 EXPECT_EQ(AS_protected, in TEST_F()
363 TypeSystemClang::UnifyAccessSpecifiers(AS_protected, AS_public)); in TEST_F()
364 EXPECT_EQ(AS_protected, in TEST_F()
365 TypeSystemClang::UnifyAccessSpecifiers(AS_public, AS_protected)); in TEST_F()
371 TypeSystemClang::UnifyAccessSpecifiers(AS_none, AS_protected)); in TEST_F()
[all …]
/external/llvm-project/clang/include/clang/Basic/
DSpecifiers.h100 AS_protected, enumerator
365 case AccessSpecifier::AS_protected: in getAccessSpelling()
/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DMoveConstructorInitCheck.cpp65 if (Ctor->isMoveConstructor() && Ctor->getAccess() <= AS_protected && in check()
/external/clang/lib/Sema/
DSemaAccess.cpp737 assert(Access == AS_private || Access == AS_protected); in HasAccess()
757 assert(Access == AS_protected); in HasAccess()
844 if (Access == AS_protected && Target.isInstanceMember()) { in HasAccess()
1099 if (D->getAccess() == AS_protected && in diagnoseBadDirectAccess()
1144 << (unsigned) (D->getAccess() == AS_protected) in diagnoseBadDirectAccess()
1251 << (base->getAccessSpecifier() == AS_protected) in DiagnoseAccessPath()
1267 << (Entity.getAccess() == AS_protected) in DiagnoseBadAccess()
1302 OrigDecl->getAccess() == AS_protected)) { in IsMicrosoftUsingDeclarationAccessBug()
/external/llvm-project/clang/lib/Sema/
DSemaAccess.cpp736 assert(Access == AS_private || Access == AS_protected); in HasAccess()
756 assert(Access == AS_protected); in HasAccess()
843 if (Access == AS_protected && Target.isInstanceMember()) { in HasAccess()
1098 if (D->getAccess() == AS_protected && in diagnoseBadDirectAccess()
1143 << (unsigned) (D->getAccess() == AS_protected) in diagnoseBadDirectAccess()
1250 << (base->getAccessSpecifier() == AS_protected) in DiagnoseAccessPath()
1266 << (Entity.getAccess() == AS_protected) in DiagnoseBadAccess()
1301 OrigDecl->getAccess() == AS_protected)) { in IsMicrosoftUsingDeclarationAccessBug()
/external/clang/include/clang/Basic/
DSpecifiers.h95 AS_protected, enumerator
/external/clang/tools/libclang/
DCIndexCXX.cpp45 case AS_protected: return CX_CXXProtected; in clang_getCXXAccessSpecifier()
/external/llvm-project/clang/tools/libclang/
DCIndexCXX.cpp42 case AS_protected: return CX_CXXProtected; in clang_getCXXAccessSpecifier()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
DRefCntblBaseVirtualDtorChecker.cpp75 if (AccSpec == AS_protected || AccSpec == AS_private || in visitCXXRecordDecl()
/external/llvm-project/clang-tools-extra/unittests/clang-doc/
DMergeTest.cpp91 AccessSpecifier::AS_protected, true); in TEST()
132 AccessSpecifier::AS_protected, true); in TEST()
DSerializeTest.cpp173 Method.Access = AccessSpecifier::AS_protected; in TEST()
373 ExpectedG.Members.emplace_back("int", "I", AccessSpecifier::AS_protected); in TEST()
395 FunctionSet.Access = AccessSpecifier::AS_protected; in TEST()
/external/llvm-project/clang-tools-extra/clang-doc/
DSerialize.cpp266 if (FirstAS == AccessSpecifier::AS_protected || in getFinalAccessSpecifier()
267 SecondAS == AccessSpecifier::AS_protected) in getFinalAccessSpecifier()
268 return AccessSpecifier::AS_protected; in getFinalAccessSpecifier()
DYAMLGenerator.cpp36 IO.enumCase(Value, "Protected", clang::AccessSpecifier::AS_protected); in enumeration()
DBitcodeReader.cpp56 case AS_protected: in decodeRecord()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DIdentifierNamingCheck.cpp505 if (Decl->getAccess() == AS_protected && NamingStyles[SK_ProtectedMember]) in findStyleKind()
634 if (Decl->getAccess() == AS_protected && NamingStyles[SK_ProtectedMethod]) in findStyleKind()
/external/clang/lib/AST/
DMicrosoftMangle.cpp487 case AS_protected: Out << '1'; break; in mangleVariableEncoding()
1964 case AS_protected: in mangleFunctionClass()
2499 case AS_protected: in mangleThunkThisAdjustment()
2527 case AS_protected: in mangleThunkThisAdjustment()
2541 case AS_protected: in mangleThunkThisAdjustment()
DDeclCXX.cpp674 if (D->getAccess() == AS_private || D->getAccess() == AS_protected) { in addedMember()
685 case AS_protected: data().HasProtectedFields = true; break; in addedMember()
2333 case AS_protected: in getAccessName()
DDeclPrinter.cpp264 case AS_protected: Out << "protected"; break; in Print()
DASTDumper.cpp898 case AS_protected: in dumpAccessSpecifier()
/external/llvm-project/clang/lib/AST/
DMicrosoftMangle.cpp566 case AS_protected: Out << '1'; break; in mangleVariableEncoding()
2587 case AS_protected: in mangleFunctionClass()
3283 case AS_protected: in mangleThunkThisAdjustment()
3311 case AS_protected: in mangleThunkThisAdjustment()
3325 case AS_protected: in mangleThunkThisAdjustment()
DDeclCXX.cpp969 if (D->getAccess() == AS_private || D->getAccess() == AS_protected) { in addedMember()
990 case AS_protected: data().HasProtectedFields = true; break; in addedMember()
3344 case AS_protected: in getAccessName()
/external/clang/lib/Parse/
DParseDeclCXX.cpp1954 case tok::kw_protected: return AS_protected; in getAccessSpecifierIfPresent()
2917 Diag(ASLoc, diag::err_access_specifier_interface) << (AS == AS_protected); in ParseCXXClassMemberDeclarationWithPragmas()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h503 return Node.getAccess() == AS_protected; in AST_MATCHER()
/external/llvm-project/clang/lib/Parse/
DParseDeclCXX.cpp2162 case tok::kw_protected: return AS_protected; in getAccessSpecifierIfPresent()
3172 Diag(ASLoc, diag::err_access_specifier_interface) << (AS == AS_protected); in ParseCXXClassMemberDeclarationWithPragmas()
/external/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
DTypeSystemClang.cpp453 return AS_protected; in ConvertAccessTypeToAccessSpecifier()
1649 if (lhs == AS_protected || rhs == AS_protected) in UnifyAccessSpecifiers()
1650 return AS_protected; in UnifyAccessSpecifiers()

12