/external/llvm-project/lldb/unittests/Symbol/ |
D | TestTypeSystemClang.cpp | 338 EXPECT_EQ(AS_private, TypeSystemClang::ConvertAccessTypeToAccessSpecifier( in TEST_F() 348 EXPECT_EQ(AS_private, in TEST_F() 349 TypeSystemClang::UnifyAccessSpecifiers(AS_private, AS_private)); in TEST_F() 354 EXPECT_EQ(AS_private, in TEST_F() 355 TypeSystemClang::UnifyAccessSpecifiers(AS_private, AS_public)); in TEST_F() 356 EXPECT_EQ(AS_private, in TEST_F() 357 TypeSystemClang::UnifyAccessSpecifiers(AS_private, AS_protected)); in TEST_F() 358 EXPECT_EQ(AS_private, in TEST_F() 359 TypeSystemClang::UnifyAccessSpecifiers(AS_public, AS_private)); in TEST_F() 360 EXPECT_EQ(AS_private, in TEST_F() [all …]
|
/external/llvm-project/clang-tools-extra/unittests/clang-doc/ |
D | SerializeTest.cpp | 400 AccessSpecifier::AS_private, true); in TEST() 408 FunctionGet.Access = AccessSpecifier::AS_private; in TEST() 412 AccessSpecifier::AS_private); in TEST() 429 AccessSpecifier::AS_private, true); in TEST() 432 AccessSpecifier::AS_private, false); in TEST() 441 FunctionSetNew.Access = AccessSpecifier::AS_private; in TEST() 446 AccessSpecifier::AS_private, false); in TEST() 454 FunctionGetNew.Access = AccessSpecifier::AS_private; in TEST() 458 AccessSpecifier::AS_private); in TEST()
|
D | MergeTest.cpp | 85 One.Members.emplace_back("int", "X", AccessSpecifier::AS_private); in TEST() 127 Expected->Members.emplace_back("int", "X", AccessSpecifier::AS_private); in TEST()
|
D | YAMLGeneratorTest.cpp | 85 AccessSpecifier::AS_private); in TEST() 92 AccessSpecifier::AS_private); in TEST()
|
D | BitcodeTest.cpp | 81 I.Members.emplace_back("int", "X", AccessSpecifier::AS_private); in TEST() 87 I.Bases.back().Members.emplace_back("int", "X", AccessSpecifier::AS_private); in TEST()
|
D | HTMLGeneratorTest.cpp | 155 I.Members.emplace_back("int", "X/Y", "X", AccessSpecifier::AS_private); in TEST()
|
D | MDGeneratorTest.cpp | 88 I.Members.emplace_back("int", "X", AccessSpecifier::AS_private); in TEST()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | ForwardingReferenceOverloadCheck.cpp | 117 if (OtherCtor->isDeleted() || OtherCtor->getAccess() == AS_private) in check() 133 OtherCtor->getAccess() != AS_private) { in check()
|
D | CopyConstructorInitCheck.cpp | 66 (Ctor->getAccess() == AS_private || Ctor->isDeleted())) { in check()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | Specifiers.h | 101 AS_private, enumerator 367 case AccessSpecifier::AS_private: in getAccessSpelling()
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | RedundantAccessSpecifiersCheck.cpp | 49 MatchedDecl->isClass() ? AS_private : AS_public; in check()
|
D | IdentifierNamingCheck.cpp | 502 if (Decl->getAccess() == AS_private && NamingStyles[SK_PrivateMember]) in findStyleKind() 631 if (Decl->getAccess() == AS_private && NamingStyles[SK_PrivateMethod]) in findStyleKind()
|
/external/clang/lib/Sema/ |
D | SemaAccess.cpp | 649 if (I.getAccessSpecifier() == AS_private) in findFriendship() 737 assert(Access == AS_private || Access == AS_protected); in HasAccess() 748 if (Access == AS_private) { in HasAccess() 963 if (PathAccess == AS_private) { in FindBestPath() 1177 if (accessSoFar == AS_private || in DiagnoseAccessPath() 1196 assert(accessSoFar != AS_none && accessSoFar != AS_private); in DiagnoseAccessPath() 1224 if (accessSoFar == AS_private) { in DiagnoseAccessPath() 1225 assert(baseAccess == AS_private); in DiagnoseAccessPath() 1300 if (Entity.getTargetDecl()->getAccess() == AS_private && in IsMicrosoftUsingDeclarationAccessBug()
|
D | SemaLambda.cpp | 795 Field->setAccess(AS_private); in buildInitCaptureField() 1311 Invoke->setAccess(AS_private); in addFunctionPointerConversion() 1320 StaticInvokerTemplate->setAccess(AS_private); in addFunctionPointerConversion()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaAccess.cpp | 648 if (I.getAccessSpecifier() == AS_private) in findFriendship() 736 assert(Access == AS_private || Access == AS_protected); in HasAccess() 747 if (Access == AS_private) { in HasAccess() 962 if (PathAccess == AS_private) { in FindBestPath() 1176 if (accessSoFar == AS_private || in DiagnoseAccessPath() 1195 assert(accessSoFar != AS_none && accessSoFar != AS_private); in DiagnoseAccessPath() 1223 if (accessSoFar == AS_private) { in DiagnoseAccessPath() 1224 assert(baseAccess == AS_private); in DiagnoseAccessPath() 1299 if (Entity.getTargetDecl()->getAccess() == AS_private && in IsMicrosoftUsingDeclarationAccessBug()
|
/external/llvm-project/clang-tools-extra/clang-doc/ |
D | Serialize.cpp | 225 if (AS == clang::AccessSpecifier::AS_private) in isPublic() 263 if (FirstAS == AccessSpecifier::AS_private || in getFinalAccessSpecifier() 264 SecondAS == AccessSpecifier::AS_private) in getFinalAccessSpecifier() 265 return AccessSpecifier::AS_private; in getFinalAccessSpecifier() 463 if (MD->getAccessUnsafe() == AccessSpecifier::AS_private || in parseBases()
|
D | YAMLGenerator.cpp | 37 IO.enumCase(Value, "Private", clang::AccessSpecifier::AS_private); in enumeration()
|
/external/clang/include/clang/Basic/ |
D | Specifiers.h | 96 AS_private, enumerator
|
/external/clang/tools/libclang/ |
D | CIndexCXX.cpp | 46 case AS_private: return CX_CXXPrivate; in clang_getCXXAccessSpecifier()
|
/external/llvm-project/clang/tools/libclang/ |
D | CIndexCXX.cpp | 43 case AS_private: return CX_CXXPrivate; in clang_getCXXAccessSpecifier()
|
/external/llvm-project/clang-tools-extra/clang-tidy/misc/ |
D | NewDeleteOverloadsCheck.cpp | 106 if (BMD->isOverloadedOperator() && BMD->getAccess() != AS_private && in hasCorrespondingOverloadInBaseClass()
|
/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/clang-tidy/modernize/ |
D | MakeSmartPtrCheck.cpp | 418 (Ctor->isDeleted() || Ctor->getAccess() == AS_private); in replaceNew()
|
/external/clang/lib/AST/ |
D | MicrosoftMangle.cpp | 486 case AS_private: Out << '0'; break; in mangleVariableEncoding() 1956 case AS_private: in mangleFunctionClass() 2496 case AS_private: in mangleThunkThisAdjustment() 2524 case AS_private: in mangleThunkThisAdjustment() 2538 case AS_private: in mangleThunkThisAdjustment()
|
/external/llvm-project/clang/lib/AST/ |
D | MicrosoftMangle.cpp | 565 case AS_private: Out << '0'; break; in mangleVariableEncoding() 2579 case AS_private: in mangleFunctionClass() 3280 case AS_private: in mangleThunkThisAdjustment() 3308 case AS_private: in mangleThunkThisAdjustment() 3322 case AS_private: in mangleThunkThisAdjustment()
|