/external/llvm-project/lldb/unittests/Symbol/ |
D | TestTypeSystemClang.cpp | 340 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/ |
D | Specifiers.h | 100 AS_protected, enumerator 365 case AccessSpecifier::AS_protected: in getAccessSpelling()
|
/external/llvm-project/clang-tools-extra/clang-tidy/performance/ |
D | MoveConstructorInitCheck.cpp | 65 if (Ctor->isMoveConstructor() && Ctor->getAccess() <= AS_protected && in check()
|
/external/clang/lib/Sema/ |
D | SemaAccess.cpp | 737 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/ |
D | SemaAccess.cpp | 736 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/ |
D | Specifiers.h | 95 AS_protected, enumerator
|
/external/clang/tools/libclang/ |
D | CIndexCXX.cpp | 45 case AS_protected: return CX_CXXProtected; in clang_getCXXAccessSpecifier()
|
/external/llvm-project/clang/tools/libclang/ |
D | CIndexCXX.cpp | 42 case AS_protected: return CX_CXXProtected; in clang_getCXXAccessSpecifier()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
D | RefCntblBaseVirtualDtorChecker.cpp | 75 if (AccSpec == AS_protected || AccSpec == AS_private || in visitCXXRecordDecl()
|
/external/llvm-project/clang-tools-extra/unittests/clang-doc/ |
D | MergeTest.cpp | 91 AccessSpecifier::AS_protected, true); in TEST() 132 AccessSpecifier::AS_protected, true); in TEST()
|
D | SerializeTest.cpp | 173 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/ |
D | Serialize.cpp | 266 if (FirstAS == AccessSpecifier::AS_protected || in getFinalAccessSpecifier() 267 SecondAS == AccessSpecifier::AS_protected) in getFinalAccessSpecifier() 268 return AccessSpecifier::AS_protected; in getFinalAccessSpecifier()
|
D | YAMLGenerator.cpp | 36 IO.enumCase(Value, "Protected", clang::AccessSpecifier::AS_protected); in enumeration()
|
D | BitcodeReader.cpp | 56 case AS_protected: in decodeRecord()
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | IdentifierNamingCheck.cpp | 505 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/ |
D | MicrosoftMangle.cpp | 487 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()
|
D | DeclCXX.cpp | 674 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()
|
D | DeclPrinter.cpp | 264 case AS_protected: Out << "protected"; break; in Print()
|
D | ASTDumper.cpp | 898 case AS_protected: in dumpAccessSpecifier()
|
/external/llvm-project/clang/lib/AST/ |
D | MicrosoftMangle.cpp | 566 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()
|
D | DeclCXX.cpp | 969 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/ |
D | ParseDeclCXX.cpp | 1954 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/ |
D | ASTMatchers.h | 503 return Node.getAccess() == AS_protected; in AST_MATCHER()
|
/external/llvm-project/clang/lib/Parse/ |
D | ParseDeclCXX.cpp | 2162 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/ |
D | TypeSystemClang.cpp | 453 return AS_protected; in ConvertAccessTypeToAccessSpecifier() 1649 if (lhs == AS_protected || rhs == AS_protected) in UnifyAccessSpecifiers() 1650 return AS_protected; in UnifyAccessSpecifiers()
|