Home
last modified time | relevance | path

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

/external/clang/tools/libclang/
DCIndexCXX.cpp34 AccessSpecifier spec = AS_none; in clang_getCXXAccessSpecifier()
47 case AS_none: return CX_CXXInvalidAccessSpecifier; in clang_getCXXAccessSpecifier()
/external/clang/include/clang/Basic/
DSpecifiers.h92 AS_none enumerator
/external/clang/lib/Sema/
DSemaAccess.cpp50 if (LexicalAS != AS_none && LexicalAS != PrevMemberDecl->getAccess()) { in SetMemberAccessSpecifier()
952 assert(FinalAccess != AS_none && "forbidden access after declaring class"); in FindBestPath()
967 assert(PathAccess != AS_none); in FindBestPath()
973 PathAccess = AS_none; in FindBestPath()
1207 assert(accessSoFar != AS_none && accessSoFar != AS_private); in DiagnoseAccessPath()
1263 << (base->getAccessSpecifierAsWritten() == AS_none); in DiagnoseAccessPath()
1337 if (UnprivilegedAccess != AS_none) { in IsAccessible()
1791 Found.getAccess() == AS_none || in CheckAddressOfMemberAccess()
DSemaTemplate.cpp1120 if (PrevClassTemplate && PrevClassTemplate->getAccess() != AS_none) { in CheckClassTemplate()
5878 AS_none, /*ModulePrivateLoc=*/SourceLocation(), in ActOnClassTemplateSpecialization()
6993 KWLoc, SS, Name, NameLoc, Attr, AS_none, in ActOnExplicitInstantiation()
DSemaLookup.cpp1637 AccessSpecifier SubobjectAccess = AS_none; in LookupQualifiedName()
DSemaTemplateInstantiateDecl.cpp1125 if (D->getAccess() != AS_none) in VisitCXXRecordDecl()
DSemaDecl.cpp3396 if (AS != AS_none) IndirectField->setAccess(AS); in InjectAnonymousStructOrUnionMembers()
3521 assert(FD->getAccess() != AS_none); in BuildAnonymousStructOrUnion()
3717 RecordDef, AS_none, in BuildMicrosoftCAnonymousStruct()
DSemaExpr.cpp1793 FTD, DeclAccessPair::make(FTD, AS_none), ExplicitTemplateArgs, in DiagnoseEmptyLookup()
1797 AddOverloadCandidate(FD, DeclAccessPair::make(FD, AS_none), in DiagnoseEmptyLookup()
3916 S.AddOverloadCandidate(FD, DeclAccessPair::make(FD, AS_none), Args, in TryTypoCorrectionForCall()
DSemaOverload.cpp6170 Candidate.FoundDecl = DeclAccessPair::make(0, AS_none); in AddBuiltinCandidate()
7882 DeclAccessPair FoundDecl = DeclAccessPair::make(*I, AS_none); in AddArgumentDependentLookupCandidates()
DSemaCodeComplete.cpp3902 AddOverloadCandidate(FDecl, DeclAccessPair::make(FDecl, AS_none), Args, in CodeCompleteCall()
DSemaDeclCXX.cpp1696 assert(Access != AS_none && "Invalid kind for syntactic access specifier!"); in ActOnAccessSpecifier()
/external/clang/include/clang/Parse/
DParser.h1128 AccessSpecifier AS = AS_none);
1638 AccessSpecifier AS = AS_none,
1642 void ParseSpecifierQualifierList(DeclSpec &DS, AccessSpecifier AS = AS_none,
1839 AccessSpecifier AS = AS_none,
2095 AccessSpecifier AS = AS_none,
2200 AccessSpecifier AS = AS_none,
2211 AccessSpecifier AS=AS_none,
2251 AccessSpecifier AS = AS_none);
/external/clang/lib/Serialization/
DASTWriterDecl.cpp206 D->getAccess() == AS_none && in VisitTypedefDecl()
263 D->getAccess() == AS_none && in VisitEnumDecl()
289 D->getAccess() == AS_none && in VisitRecordDecl()
729 D->getAccess() == AS_none && in VisitVarDecl()
773 D->getAccess() == AS_none && in VisitParmVarDecl()
788 assert(D->getAccess() == AS_none && "PARM_VAR_DECL can't be public/private"); in VisitParmVarDecl()
1520 Abv->Add(BitCodeAbbrevOp(AS_none)); // C++ AccessSpecifier in WriteDeclsBlockAbbrevs()
1568 Abv->Add(BitCodeAbbrevOp(AS_none)); // C++ AccessSpecifier in WriteDeclsBlockAbbrevs()
1611 Abv->Add(BitCodeAbbrevOp(AS_none)); // C++ AccessSpecifier in WriteDeclsBlockAbbrevs()
1662 Abv->Add(BitCodeAbbrevOp(AS_none)); // C++ AccessSpecifier in WriteDeclsBlockAbbrevs()
[all …]
/external/clang/include/clang/AST/
DUnresolvedSet.h115 addDecl(D, AS_none); in addDecl()
DDeclBase.h309 Access(AS_none), FromASTFile(0), Hidden(0), in Decl()
319 Access(AS_none), FromASTFile(0), Hidden(0), in Decl()
DDeclCXX.h235 if ((AccessSpecifier)Access == AS_none) in getAccessSpecifier()
1513 assert(DeclAccess != AS_none); in MergeAccess()
1514 if (DeclAccess == AS_private) return AS_none; in MergeAccess()
/external/clang/lib/Parse/
DParseDeclCXX.cpp370 AS_none, OwnedType); in ParseUsingDirectiveOrDeclaration()
1711 if (Access != AS_none) in ParseBaseSpecifier()
1764 default: return AS_none; in getAccessSpecifierIfPresent()
2598 if (AS != AS_none) { in ParseCXXMemberSpecification()
3344 if (AS != AS_none) { in ParseMicrosoftIfExistsClassDeclaration()
DParseDecl.cpp1416 ParseDeclarationSpecifiers(DS, ParsedTemplateInfo(), AS_none, in ParseSimpleDeclaration()
1425 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseSimpleDeclaration()
3178 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseStructDeclaration()
DParseExprCXX.cpp1716 ParseSpecifierQualifierList(DS, AS_none, DSC_type_specifier); in ParseCXXTypeSpecifierSeq()
/external/clang/lib/AST/
DDeclPrinter.cpp210 case AS_none: llvm_unreachable("No access specifier!"); in Print()
771 if (AS != AS_none) in VisitCXXRecordDecl()
DDeclCXX.cpp637 case AS_none: llvm_unreachable("Invalid access specifier"); in addedMember()
2049 case AS_none: in getAccessName()
DDumpXML.cpp407 case AS_none: llvm_unreachable("explicit forbidden access"); in setAccess()
DDeclBase.cpp679 assert(Access != AS_none && in CheckAccessDeclContext()
DASTDumper.cpp598 case AS_none: in dumpAccessSpecifier()
/external/clang/include/clang/Sema/
DSema.h3183 DeclAccessPair FoundDecl = DeclAccessPair::make(0, AS_none),