Home
last modified time | relevance | path

Searched refs:AS_none (Results 1 – 25 of 68) sorted by relevance

123

/external/llvm-project/lldb/unittests/Symbol/
DTestTypeSystemClang.cpp332 EXPECT_EQ(AS_none, in TEST_F()
334 EXPECT_EQ(AS_none, TypeSystemClang::ConvertAccessTypeToAccessSpecifier( in TEST_F()
368 EXPECT_EQ(AS_none, in TEST_F()
369 TypeSystemClang::UnifyAccessSpecifiers(AS_none, AS_public)); in TEST_F()
370 EXPECT_EQ(AS_none, in TEST_F()
371 TypeSystemClang::UnifyAccessSpecifiers(AS_none, AS_protected)); in TEST_F()
372 EXPECT_EQ(AS_none, in TEST_F()
373 TypeSystemClang::UnifyAccessSpecifiers(AS_none, AS_private)); in TEST_F()
374 EXPECT_EQ(AS_none, in TEST_F()
375 TypeSystemClang::UnifyAccessSpecifiers(AS_public, AS_none)); in TEST_F()
[all …]
/external/clang/tools/libclang/
DCIndexCXX.cpp34 AccessSpecifier spec = AS_none; in clang_getCXXAccessSpecifier()
47 case AS_none: return CX_CXXInvalidAccessSpecifier; in clang_getCXXAccessSpecifier()
/external/llvm-project/clang/tools/libclang/
DCIndexCXX.cpp31 AccessSpecifier spec = AS_none; in clang_getCXXAccessSpecifier()
44 case AS_none: return CX_CXXInvalidAccessSpecifier; in clang_getCXXAccessSpecifier()
/external/llvm-project/clang-tools-extra/clang-doc/
DYAMLGenerator.cpp38 IO.enumCase(Value, "None", clang::AccessSpecifier::AS_none); in enumeration()
194 IO.mapOptional("Access", I.Access, clang::AccessSpecifier::AS_none); in mapping()
220 IO.mapOptional("Access", I.Access, clang::AccessSpecifier::AS_none); in mapping()
243 IO.mapOptional("Access", I.Access, clang::AccessSpecifier::AS_none); in mapping()
DSerialize.cpp260 if (FirstAS == AccessSpecifier::AS_none || in getFinalAccessSpecifier()
261 SecondAS == AccessSpecifier::AS_none) in getFinalAccessSpecifier()
262 return AccessSpecifier::AS_none; in getFinalAccessSpecifier()
568 Func.Access = clang::AccessSpecifier::AS_none; in emitInfo()
/external/llvm-project/clang/include/clang/Basic/
DSpecifiers.h102 AS_none enumerator
369 case AccessSpecifier::AS_none: in getAccessSpelling()
/external/llvm-project/clang-tools-extra/unittests/clang-doc/
DMDGeneratorTest.cpp34 I.ChildFunctions.back().Access = AccessSpecifier::AS_none; in TEST()
155 I.Access = AccessSpecifier::AS_none; in TEST()
217 I.Access = AccessSpecifier::AS_none; in TEST()
DSerializeTest.cpp106 F.Access = AccessSpecifier::AS_none; in TEST()
327 F.Access = AccessSpecifier::AS_none; in TEST()
343 F.Access = AccessSpecifier::AS_none; in TEST()
500 F.Access = AccessSpecifier::AS_none; in TEST()
511 ExportedF.Access = AccessSpecifier::AS_none; in TEST()
DYAMLGeneratorTest.cpp37 I.ChildFunctions.back().Access = AccessSpecifier::AS_none; in TEST()
183 I.Access = AccessSpecifier::AS_none; in TEST()
273 I.Access = AccessSpecifier::AS_none; in TEST()
DHTMLGeneratorTest.cpp51 I.ChildFunctions.back().Access = AccessSpecifier::AS_none; in TEST()
DBitcodeTest.cpp113 I.Access = AccessSpecifier::AS_none; in TEST()
/external/llvm-project/clang/lib/Sema/
DSemaAccess.cpp50 if (LexicalAS != AS_none && LexicalAS != PrevMemberDecl->getAccess()) { in SetMemberAccessSpecifier()
942 assert(FinalAccess != AS_none && "forbidden access after declaring class"); in FindBestPath()
957 assert(PathAccess != AS_none); in FindBestPath()
963 PathAccess = AS_none; in FindBestPath()
1195 assert(accessSoFar != AS_none && accessSoFar != AS_private); in DiagnoseAccessPath()
1251 << (base->getAccessSpecifierAsWritten() == AS_none); in DiagnoseAccessPath()
1326 if (UnprivilegedAccess != AS_none) { in IsAccessible()
1806 Found.getAccess() == AS_none || in CheckAddressOfMemberAccess()
1906 DeclAccessPair::make(Target, AS_none), BaseType); in IsSimplyAccessible()
/external/clang/lib/Sema/
DSemaAccess.cpp50 if (LexicalAS != AS_none && LexicalAS != PrevMemberDecl->getAccess()) { in SetMemberAccessSpecifier()
943 assert(FinalAccess != AS_none && "forbidden access after declaring class"); in FindBestPath()
958 assert(PathAccess != AS_none); in FindBestPath()
964 PathAccess = AS_none; in FindBestPath()
1196 assert(accessSoFar != AS_none && accessSoFar != AS_private); in DiagnoseAccessPath()
1252 << (base->getAccessSpecifierAsWritten() == AS_none); in DiagnoseAccessPath()
1327 if (UnprivilegedAccess != AS_none) { in IsAccessible()
1787 Found.getAccess() == AS_none || in CheckAddressOfMemberAccess()
/external/clang/include/clang/Basic/
DSpecifiers.h97 AS_none enumerator
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
DRefCntblBaseVirtualDtorChecker.cpp76 (AccSpec == AS_none && RD->isClass())) in visitCXXRecordDecl()
/external/clang/include/clang/AST/
DUnresolvedSet.h83 addDecl(D, AS_none); in addDecl()
DDeclBase.h338 Access(AS_none), FromASTFile(0), Hidden(DC && cast<Decl>(DC)->Hidden), in Decl()
348 Access(AS_none), FromASTFile(0), Hidden(0), in Decl()
/external/clang/include/clang/Parse/
DParser.h1257 AccessSpecifier AS = AS_none);
1863 AccessSpecifier AS = AS_none,
1870 void ParseSpecifierQualifierList(DeclSpec &DS, AccessSpecifier AS = AS_none,
2072 AccessSpecifier AS = AS_none,
2412 AccessSpecifier AS = AS_none,
2586 AccessSpecifier AS = AS_none,
2597 AccessSpecifier AS=AS_none,
2644 AccessSpecifier AS = AS_none);
/external/llvm-project/clang/include/clang/Parse/
DParser.h1298 AccessSpecifier AS = AS_none;
1603 AccessSpecifier AS = AS_none);
2352 AccessSpecifier AS = AS_none,
2360 DeclSpec &DS, AccessSpecifier AS = AS_none,
2578 AccessSpecifier AS = AS_none, Decl **OwnedType = nullptr,
2988 AccessSpecifier AS = AS_none);
3144 AccessSpecifier AS = AS_none);
3280 AccessSpecifier AS = AS_none);
3288 ParsedAttributes &AccessAttrs, AccessSpecifier AS = AS_none);
3336 AccessSpecifier AS = AS_none);
/external/llvm-project/clang/include/clang/AST/
DUnresolvedSet.h92 addDecl(D, AS_none); in addDecl()
DDeclBase.h384 TopLevelDeclInObjCContainer(false), Access(AS_none), FromASTFile(0), in Decl()
393 Access(AS_none), FromASTFile(0), in Decl()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp445 D->getAccess() == AS_none && in VisitEnumDecl()
474 D->getAccess() == AS_none && in VisitRecordDecl()
937 D->getAccess() == AS_none && in VisitVarDecl()
987 D->getAccess() == AS_none && in VisitParmVarDecl()
1002 assert(D->getAccess() == AS_none && "PARM_VAR_DECL can't be public/private"); in VisitParmVarDecl()
1754 Abv->Add(BitCodeAbbrevOp(AS_none)); // C++ AccessSpecifier in WriteDeclAbbrevs()
1802 Abv->Add(BitCodeAbbrevOp(AS_none)); // C++ AccessSpecifier in WriteDeclAbbrevs()
1845 Abv->Add(BitCodeAbbrevOp(AS_none)); // C++ AccessSpecifier in WriteDeclAbbrevs()
1921 Abv->Add(BitCodeAbbrevOp(AS_none)); // C++ AccessSpecifier in WriteDeclAbbrevs()
/external/llvm-project/clang/lib/Serialization/
DASTWriterDecl.cpp463 D->getAccess() == AS_none && in VisitEnumDecl()
500 D->getAccess() == AS_none && in VisitRecordDecl()
1061 D->getAccess() == AS_none && in VisitVarDecl()
1109 D->getAccess() == AS_none && in VisitParmVarDecl()
1126 assert(D->getAccess() == AS_none && "PARM_VAR_DECL can't be public/private"); in VisitParmVarDecl()
1976 Abv->Add(BitCodeAbbrevOp(AS_none)); // C++ AccessSpecifier in WriteDeclAbbrevs()
2026 Abv->Add(BitCodeAbbrevOp(AS_none)); // C++ AccessSpecifier in WriteDeclAbbrevs()
2088 Abv->Add(BitCodeAbbrevOp(AS_none)); // C++ AccessSpecifier in WriteDeclAbbrevs()
2165 Abv->Add(BitCodeAbbrevOp(AS_none)); // C++ AccessSpecifier in WriteDeclAbbrevs()
/external/clang/lib/AST/
DMicrosoftMangle.cpp1954 case AS_none: in mangleFunctionClass()
2494 case AS_none: in mangleThunkThisAdjustment()
2522 case AS_none: in mangleThunkThisAdjustment()
2536 case AS_none: in mangleThunkThisAdjustment()
DDeclPrinter.cpp262 case AS_none: llvm_unreachable("No access specifier!"); in Print()
858 if (AS != AS_none) { in VisitCXXRecordDecl()

123