Home
last modified time | relevance | path

Searched refs:AS_private (Results 1 – 25 of 47) sorted by relevance

12

/external/llvm-project/lldb/unittests/Symbol/
DTestTypeSystemClang.cpp338 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/
DSerializeTest.cpp400 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()
DMergeTest.cpp85 One.Members.emplace_back("int", "X", AccessSpecifier::AS_private); in TEST()
127 Expected->Members.emplace_back("int", "X", AccessSpecifier::AS_private); in TEST()
DYAMLGeneratorTest.cpp85 AccessSpecifier::AS_private); in TEST()
92 AccessSpecifier::AS_private); in TEST()
DBitcodeTest.cpp81 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()
DHTMLGeneratorTest.cpp155 I.Members.emplace_back("int", "X/Y", "X", AccessSpecifier::AS_private); in TEST()
DMDGeneratorTest.cpp88 I.Members.emplace_back("int", "X", AccessSpecifier::AS_private); in TEST()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DForwardingReferenceOverloadCheck.cpp117 if (OtherCtor->isDeleted() || OtherCtor->getAccess() == AS_private) in check()
133 OtherCtor->getAccess() != AS_private) { in check()
DCopyConstructorInitCheck.cpp66 (Ctor->getAccess() == AS_private || Ctor->isDeleted())) { in check()
/external/llvm-project/clang/include/clang/Basic/
DSpecifiers.h101 AS_private, enumerator
367 case AccessSpecifier::AS_private: in getAccessSpelling()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DRedundantAccessSpecifiersCheck.cpp49 MatchedDecl->isClass() ? AS_private : AS_public; in check()
DIdentifierNamingCheck.cpp502 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/
DSemaAccess.cpp649 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()
DSemaLambda.cpp795 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/
DSemaAccess.cpp648 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/
DSerialize.cpp225 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()
DYAMLGenerator.cpp37 IO.enumCase(Value, "Private", clang::AccessSpecifier::AS_private); in enumeration()
/external/clang/include/clang/Basic/
DSpecifiers.h96 AS_private, enumerator
/external/clang/tools/libclang/
DCIndexCXX.cpp46 case AS_private: return CX_CXXPrivate; in clang_getCXXAccessSpecifier()
/external/llvm-project/clang/tools/libclang/
DCIndexCXX.cpp43 case AS_private: return CX_CXXPrivate; in clang_getCXXAccessSpecifier()
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DNewDeleteOverloadsCheck.cpp106 if (BMD->isOverloadedOperator() && BMD->getAccess() != AS_private && in hasCorrespondingOverloadInBaseClass()
/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/clang-tidy/modernize/
DMakeSmartPtrCheck.cpp418 (Ctor->isDeleted() || Ctor->getAccess() == AS_private); in replaceNew()
/external/clang/lib/AST/
DMicrosoftMangle.cpp486 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/
DMicrosoftMangle.cpp565 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()

12