/external/clang/include/clang/AST/ |
D | DeclLookups.h | 26 class DeclContext::all_lookups_iterator { 71 inline DeclContext::lookups_range DeclContext::lookups() const { in lookups() 72 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext(); in lookups() 84 inline DeclContext::all_lookups_iterator DeclContext::lookups_begin() const { in lookups_begin() 88 inline DeclContext::all_lookups_iterator DeclContext::lookups_end() const { in lookups_end() 92 inline DeclContext::lookups_range DeclContext::noload_lookups() const { in noload_lookups() 93 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext(); in noload_lookups() 104 DeclContext::all_lookups_iterator DeclContext::noload_lookups_begin() const { in noload_lookups_begin() 109 DeclContext::all_lookups_iterator DeclContext::noload_lookups_end() const { in noload_lookups_end()
|
D | DeclBase.h | 31 class DeclContext; variable 224 friend class DeclContext; 227 DeclContext *SemanticDC; 228 DeclContext *LexicalDC; 245 llvm::PointerUnion<DeclContext*, MultipleDC*> DeclCtx; 247 inline bool isInSemaDC() const { return DeclCtx.is<DeclContext*>(); } in isInSemaDC() 252 inline DeclContext *getSemanticDC() const { in getSemanticDC() 253 return DeclCtx.get<DeclContext*>(); in getSemanticDC() 327 DeclContext *Parent, std::size_t Extra = 0); 334 Decl(Kind DK, DeclContext *DC, SourceLocation L) in Decl() [all …]
|
D | DeclOpenMP.h | 49 OMPThreadPrivateDecl(Kind DK, DeclContext *DC, SourceLocation L) : in OMPThreadPrivateDecl() 63 static OMPThreadPrivateDecl *Create(ASTContext &C, DeclContext *DC, 102 class OMPDeclareReductionDecl final : public ValueDecl, public DeclContext { 116 OMPDeclareReductionDecl(Kind DK, DeclContext *DC, SourceLocation L, in OMPDeclareReductionDecl() 119 : ValueDecl(DK, DC, L, Name, Ty), DeclContext(DK), Combiner(nullptr), in OMPDeclareReductionDecl() 129 Create(ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name, 155 static DeclContext *castToDeclContext(const OMPDeclareReductionDecl *D) { in castToDeclContext() 156 return static_cast<DeclContext *>(const_cast<OMPDeclareReductionDecl *>(D)); in castToDeclContext() 158 static OMPDeclareReductionDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() 160 const_cast<DeclContext *>(DC)); in castFromDeclContext() [all …]
|
D | Decl.h | 80 class TranslationUnitDecl : public Decl, public DeclContext { 99 static DeclContext *castToDeclContext(const TranslationUnitDecl *D) { in castToDeclContext() 100 return static_cast<DeclContext *>(const_cast<TranslationUnitDecl*>(D)); in castToDeclContext() 102 static TranslationUnitDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() 103 return static_cast<TranslationUnitDecl *>(const_cast<DeclContext*>(DC)); in castFromDeclContext() 191 class ExternCContextDecl : public Decl, public DeclContext { 196 DeclContext(ExternCContext) {} in ExternCContextDecl() 203 static DeclContext *castToDeclContext(const ExternCContextDecl *D) { in castToDeclContext() 204 return static_cast<DeclContext *>(const_cast<ExternCContextDecl*>(D)); in castToDeclContext() 206 static ExternCContextDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() [all …]
|
D | DependentDiagnostic.h | 39 DeclContext *Parent, in Create() 102 DeclContext *Parent, 106 friend class DeclContext::ddiag_iterator; 124 class DeclContext::ddiag_iterator { 174 inline DeclContext::ddiag_range DeclContext::ddiags() const { in ddiags()
|
D | ASTLambda.h | 34 inline bool isLambdaCallOperator(const DeclContext *DC) { in isLambdaCallOperator() 63 inline bool isGenericLambdaCallOperatorSpecialization(DeclContext *DC) { in isGenericLambdaCallOperatorSpecialization() 71 inline DeclContext *getLambdaAwareParentOfDeclContext(DeclContext *DC) { in getLambdaAwareParentOfDeclContext()
|
D | DeclContextInternals.h | 143 DeclContext::lookup_result getLookupResult() { in getLookupResult() 145 return DeclContext::lookup_result(); in getLookupResult() 152 return DeclContext::lookup_result(ND); in getLookupResult() 159 return DeclContext::lookup_result(Vector); in getLookupResult() 247 friend class DeclContext; variable 257 friend class DeclContext; // iterates over diagnostics variable
|
D | DeclCXX.h | 108 AccessSpecDecl(AccessSpecifier AS, DeclContext *DC, in AccessSpecDecl() 131 DeclContext *DC, SourceLocation ASLoc, in Create() 619 friend class DeclContext; variable 643 CXXRecordDecl(Kind K, TagKind TK, const ASTContext &C, DeclContext *DC, 687 static CXXRecordDecl *Create(const ASTContext &C, TagKind TK, DeclContext *DC, 692 static CXXRecordDecl *CreateLambda(const ASTContext &C, DeclContext *DC, 1435 bool isCurrentInstantiation(const DeclContext *CurContext) const; 2523 class LinkageSpecDecl : public Decl, public DeclContext { 2550 LinkageSpecDecl(DeclContext *DC, SourceLocation ExternLoc, in LinkageSpecDecl() 2552 : Decl(LinkageSpec, DC, LangLoc), DeclContext(LinkageSpec), in LinkageSpecDecl() [all …]
|
D | DeclObjC.h | 113 class ObjCMethodDecl : public NamedDecl, public DeclContext { 228 DeclContext *contextDecl, bool isInstance = true, 234 DeclContext(ObjCMethod), Family(InvalidObjCMethodFamily), in NamedDecl() 256 DeclContext *contextDecl, bool isInstance = true, 497 static DeclContext *castToDeclContext(const ObjCMethodDecl *D) { in castToDeclContext() 498 return static_cast<DeclContext *>(const_cast<ObjCMethodDecl*>(D)); in castToDeclContext() 500 static ObjCMethodDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() 501 return static_cast<ObjCMethodDecl *>(const_cast<DeclContext*>(DC)); in castFromDeclContext() 548 ObjCTypeParamDecl(ASTContext &ctx, DeclContext *dc, in ObjCTypeParamDecl() 559 static ObjCTypeParamDecl *Create(ASTContext &ctx, DeclContext *dc, [all …]
|
D | DeclTemplate.h | 334 TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName Name) in TemplateDecl() 340 TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName Name, in TemplateDecl() 346 TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName Name, in TemplateDecl() 713 RedeclarableTemplateDecl(Kind DK, ASTContext &C, DeclContext *DC, in RedeclarableTemplateDecl() 868 FunctionTemplateDecl(ASTContext &C, DeclContext *DC, SourceLocation L, 975 static FunctionTemplateDecl *Create(ASTContext &C, DeclContext *DC, 1049 TemplateTypeParmDecl(DeclContext *DC, SourceLocation KeyLoc, 1059 static TemplateTypeParmDecl *Create(const ASTContext &C, DeclContext *DC, 1169 NonTypeTemplateParmDecl(DeclContext *DC, SourceLocation StartLoc, 1178 NonTypeTemplateParmDecl(DeclContext *DC, SourceLocation StartLoc, [all …]
|
D | ASTImporter.h | 28 class DeclContext; variable 135 DeclContext *ImportContext(DeclContext *FromDC); 250 DeclContext *DC,
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/ |
D | DeclContext.h | 75 class DeclContext { 77 using Map = DenseSet<DeclContext *, DeclMapInfo>; 79 DeclContext() : DefinedInClangModule(0), Parent(*this) {} in DeclContext() function 81 DeclContext(unsigned Hash, uint32_t Line, uint32_t ByteSize, uint16_t Tag, 82 StringRef Name, StringRef File, const DeclContext &Parent, 111 const DeclContext &Parent; 133 PointerIntPair<DeclContext *, 1> 134 getChildDeclContext(DeclContext &Context, const DWARFDie &DIE, 138 DeclContext &getRoot() { return Root; } in getRoot() 142 DeclContext Root; [all …]
|
D | DeclContext.cpp | 32 bool DeclContext::setLastSeenDIE(CompileUnit &U, const DWARFDie &Die) { in setLastSeenDIE() 45 PointerIntPair<DeclContext *, 1> DeclContextTree::getChildDeclContext( in getChildDeclContext() 46 DeclContext &Context, const DWARFDie &DIE, CompileUnit &U, in getChildDeclContext() 57 return PointerIntPair<DeclContext *, 1>(nullptr); in getChildDeclContext() 61 return PointerIntPair<DeclContext *, 1>(&Context); in getChildDeclContext() 67 return PointerIntPair<DeclContext *, 1>(nullptr); in getChildDeclContext() 81 return PointerIntPair<DeclContext *, 1>(nullptr); in getChildDeclContext() 106 return PointerIntPair<DeclContext *, 1>(nullptr); in getChildDeclContext() 160 return PointerIntPair<DeclContext *, 1>(nullptr); in getChildDeclContext() 180 DeclContext Key(Hash, Line, ByteSize, Tag, NameRef, FileRef, Context); in getChildDeclContext() [all …]
|
/external/clang/lib/AST/ |
D | DeclBase.cpp | 76 DeclContext *Parent, std::size_t Extra) { in operator new() 123 const char *DeclContext::getDeclKindName() const { in getDeclKindName() 211 const DeclContext *Decl::getParentFunctionOrMethod() const { in getParentFunctionOrMethod() 212 for (const DeclContext *DC = getDeclContext(); in getParentFunctionOrMethod() 253 void Decl::setDeclContext(DeclContext *DC) { in setDeclContext() 257 void Decl::setLexicalDeclContext(DeclContext *DC) { in setLexicalDeclContext() 269 void Decl::setDeclContextsImpl(DeclContext *SemaDC, DeclContext *LexicalDC, in setDeclContextsImpl() 282 const DeclContext *LDC = getLexicalDeclContext(); in isLexicallyWithinFunctionOrMethod() 294 const DeclContext *DC = getDeclContext(); in isInAnonymousNamespace() 312 DeclContext *DC = getDeclContext(); in getTranslationUnitDecl() [all …]
|
D | DeclTemplate.cpp | 110 DeclContext *Owner) { in AdoptTemplateParameterList() 247 DeclContext *DC, in Create() 252 AdoptTemplateParameterList(Params, cast<DeclContext>(Decl)); in Create() 324 DeclContext *DC, in Create() 330 AdoptTemplateParameterList(Params, cast<DeclContext>(Decl)); in Create() 473 TemplateTypeParmDecl::Create(const ASTContext &C, DeclContext *DC, in Create() 521 DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, unsigned D, in NonTypeTemplateParmDecl() 538 NonTypeTemplateParmDecl::Create(const ASTContext &C, DeclContext *DC, in Create() 548 const ASTContext &C, DeclContext *DC, SourceLocation StartLoc, in Create() 599 DeclContext *DC, SourceLocation L, unsigned D, unsigned P, in TemplateTemplateParmDecl() [all …]
|
/external/clang/include/clang/Basic/ |
D | DeclNodes.td | 11 class DeclContext { } 13 def TranslationUnit : Decl, DeclContext; 16 def ExternCContext : Decl, DeclContext; 18 def Namespace : DDecl<Named>, DeclContext; 28 def Tag : DDecl<Type, 1>, DeclContext; 40 def OMPDeclareReduction : DDecl<Value>, DeclContext; 46 def Function : DDecl<Declarator>, DeclContext; 70 def ObjCMethod : DDecl<Named>, DeclContext; 71 def ObjCContainer : DDecl<Named, 1>, DeclContext; 80 def LinkageSpec : Decl, DeclContext; [all …]
|
/external/clang/lib/Index/ |
D | IndexingContext.h | 27 class DeclContext; variable 70 const DeclContext *DC = nullptr); 74 const DeclContext *DC, 87 const DeclContext *DC = nullptr, 91 const DeclContext *DC = nullptr, 96 const DeclContext *DC = nullptr); 98 bool indexDeclContext(const DeclContext *DC); 101 const DeclContext *DC = nullptr); 115 const DeclContext *ContainerDC);
|
D | IndexTypeSourceInfo.cpp | 21 const DeclContext *ParentDC; 29 const DeclContext *DC, bool isBase) in TypeIndexer() 132 const DeclContext *DC, in indexTypeSourceInfo() 142 const DeclContext *DC, in indexTypeLoc() 154 const DeclContext *DC) { in indexNestedNameSpecifierLoc()
|
/external/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 82 if (DeclContext *DC = dyn_cast<DeclContext>(D)) { in print() 193 void PrintDeclContext(const DeclContext* DC, unsigned Indentation); 197 void DeclContextPrinter::PrintDeclContext(const DeclContext* DC, in PrintDeclContext() 303 const DeclContext* SemaDC = D->getDeclContext(); in PrintDeclContext() 304 const DeclContext* LexicalDC = D->getLexicalDeclContext(); in PrintDeclContext() 332 const DeclContext* SemaDC = D->getDeclContext(); in PrintDeclContext() 333 const DeclContext* LexicalDC = D->getLexicalDeclContext(); in PrintDeclContext() 348 const DeclContext* SemaDC = D->getDeclContext(); in PrintDeclContext() 349 const DeclContext* LexicalDC = D->getLexicalDeclContext(); in PrintDeclContext() 364 const DeclContext* SemaDC = D->getDeclContext(); in PrintDeclContext() [all …]
|
/external/clang/tools/libclang/ |
D | CXIndexDataConsumer.h | 63 const DeclContext *DC; 285 typedef llvm::DenseMap<const DeclContext *, CXIdxClientContainer> 382 const DeclContext *DC = nullptr); 385 const DeclContext *DC = nullptr); 389 const DeclContext *DC = nullptr); 391 void indexDeclContext(const DeclContext *DC); 394 const DeclContext *DC = nullptr); 426 const DeclContext *LexicalDC); 438 const DeclContext *DC, 444 const DeclContext *DC, [all …]
|
/external/clang/lib/Sema/ |
D | SemaLookup.cpp | 60 const DeclContext *Nominated; 61 const DeclContext *CommonAncestor; 64 UnqualUsingEntry(const DeclContext *Nominated, in UnqualUsingEntry() 65 const DeclContext *CommonAncestor) in UnqualUsingEntry() 69 const DeclContext *getCommonAncestor() const { in getCommonAncestor() 73 const DeclContext *getNominatedNamespace() const { in getNominatedNamespace() 83 bool operator()(const UnqualUsingEntry &E, const DeclContext *DC) { in operator ()() 87 bool operator()(const DeclContext *DC, const UnqualUsingEntry &E) { in operator ()() 99 llvm::SmallPtrSet<DeclContext*, 8> visited; 109 DeclContext *InnermostFileDC = InnermostFileScope->getEntity(); in visitScopeChain() [all …]
|
/external/clang/lib/Tooling/Core/ |
D | Lookup.cpp | 19 static bool isInsideDifferentNamespaceWithSameName(const DeclContext *DeclA, in isInsideDifferentNamespaceWithSameName() 20 const DeclContext *DeclB) { in isInsideDifferentNamespaceWithSameName() 49 static StringRef getBestNamespaceSubstr(const DeclContext *DeclA, in getBestNamespaceSubstr() 86 const DeclContext *UseContext, in replaceNestedName()
|
/external/clang/include/clang/Sema/ |
D | SemaInternal.h | 114 DeclContext *MemberContext, in TypoCorrectionConsumer() 131 void FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx, 227 DeclContext* DeclCtx; 232 typedef SmallVector<DeclContext*, 4> DeclContextList; 245 static DeclContextList buildContextChain(DeclContext *Start); 251 NamespaceSpecifierSet(ASTContext &Context, DeclContext *CurContext, 256 void addNameSpecifier(DeclContext *Ctx); 326 DeclContext *MemberContext;
|
D | MultiplexExternalSemaSource.h | 95 bool FindExternalVisibleDeclsByName(const DeclContext *DC, 100 void completeVisibleDeclsMap(const DeclContext *DC) override; 108 FindExternalLexicalDecls(const DeclContext *DC, 333 DeclContext *MemberContext,
|
/external/clang/lib/Serialization/ |
D | ASTCommon.h | 83 const DeclContext *getDefinitiveDeclContext(const DeclContext *DC); 94 template<typename Fn> void numberAnonymousDeclsWithin(const DeclContext *DC, in numberAnonymousDeclsWithin()
|