/external/clang/include/clang/AST/ |
DeclLookups.h | 10 // This file defines DeclContext::all_lookups_iterator. 26 class DeclContext::all_lookups_iterator { 71 inline DeclContext::lookups_range DeclContext::lookups() const { 72 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext(); 84 inline DeclContext::all_lookups_iterator DeclContext::lookups_begin() const { 88 inline DeclContext::all_lookups_iterator DeclContext::lookups_end() const [all...] |
DeclBase.h | 10 // This file defines the Decl and DeclContext interfaces. 31 class DeclContext; 210 /// DeclContext. These pointers form the linked list that is 211 /// traversed via DeclContext's decls_begin()/decls_end(). 218 friend class DeclContext; 221 DeclContext *SemanticDC; 222 DeclContext *LexicalDC; 226 /// DeclCtx - Holds either a DeclContext* or a MultipleDC*. 228 /// the DeclContext where the Decl was declared. 239 llvm::PointerUnion<DeclContext*, MultipleDC*> DeclCtx [all...] |
ASTLambda.h | 34 inline bool isLambdaCallOperator(const DeclContext *DC) { 63 inline bool isGenericLambdaCallOperatorSpecialization(DeclContext *DC) { 69 // This returns the parent DeclContext ensuring that the correct 70 // parent DeclContext is returned for Lambdas 71 inline DeclContext *getLambdaAwareParentOfDeclContext(DeclContext *DC) {
|
DependentDiagnostic.h | 39 DeclContext *Parent, 102 DeclContext *Parent, 106 friend class DeclContext::ddiag_iterator; 124 class DeclContext::ddiag_iterator { 158 assert(N >= 0 && "cannot rewind a DeclContext::ddiag_iterator"); 174 inline DeclContext::ddiag_range DeclContext::ddiags() const {
|
DeclContextInternals.h | 1 //===-- DeclContextInternals.h - DeclContext Representation -----*- C++ -*-===// 11 // of DeclContext. 143 DeclContext::lookup_result getLookupResult() { 145 return DeclContext::lookup_result(); 152 return DeclContext::lookup_result(ND); 159 return DeclContext::lookup_result(Vector); 247 friend class DeclContext; 257 friend class DeclContext; // iterates over diagnostics
|
ASTImporter.h | 27 class DeclContext; 134 DeclContext *ImportContext(DeclContext *FromDC); 241 DeclContext *DC,
|
Decl.h | 79 class TranslationUnitDecl : public Decl, public DeclContext { 98 static DeclContext *castToDeclContext(const TranslationUnitDecl *D) { 99 return static_cast<DeclContext *>(const_cast<TranslationUnitDecl*>(D)); 101 static TranslationUnitDecl *castFromDeclContext(const DeclContext *DC) { 102 return static_cast<TranslationUnitDecl *>(const_cast<DeclContext*>(DC)); 123 class ExternCContextDecl : public Decl, public DeclContext { 128 DeclContext(ExternCContext) {} 135 static DeclContext *castToDeclContext(const ExternCContextDecl *D) { 136 return static_cast<DeclContext *>(const_cast<ExternCContextDecl*>(D)); 138 static ExternCContextDecl *castFromDeclContext(const DeclContext *DC) [all...] |
ASTMutationListener.h | 23 class DeclContext; 49 /// \brief A new declaration with name has been added to a DeclContext. 50 virtual void AddedVisibleDecl(const DeclContext *DC, const Decl *D) {}
|
DeclOpenMP.h | 42 OMPThreadPrivateDecl(Kind DK, DeclContext *DC, SourceLocation L) : 59 static OMPThreadPrivateDecl *Create(ASTContext &C, DeclContext *DC,
|
DeclCXX.h | 106 AccessSpecDecl(AccessSpecifier AS, DeclContext *DC, 129 DeclContext *DC, SourceLocation ASLoc, 576 /// actual DeclContext does not suffice. This is used for lambdas that 616 friend class DeclContext; 626 /// members have been added. It will be invoked by DeclContext::addDecl() 640 CXXRecordDecl(Kind K, TagKind TK, const ASTContext &C, DeclContext *DC, 682 static CXXRecordDecl *Create(const ASTContext &C, TagKind TK, DeclContext *DC, 687 static CXXRecordDecl *CreateLambda(const ASTContext &C, DeclContext *DC, [all...] |
DeclObjC.h | 113 class ObjCMethodDecl : public NamedDecl, public DeclContext { 228 DeclContext *contextDecl, bool isInstance = true, 234 DeclContext(ObjCMethod), Family(InvalidObjCMethodFamily), 256 DeclContext *contextDecl, bool isInstance = true, 502 static DeclContext *castToDeclContext(const ObjCMethodDecl *D) { 503 return static_cast<DeclContext *>(const_cast<ObjCMethodDecl*>(D)); 505 static ObjCMethodDecl *castFromDeclContext(const DeclContext *DC) { 506 return static_cast<ObjCMethodDecl *>(const_cast<DeclContext*>(DC)); 553 ObjCTypeParamDecl(ASTContext &ctx, DeclContext *dc, 564 static ObjCTypeParamDecl *Create(ASTContext &ctx, DeclContext *dc [all...] |
/external/clang/include/clang/Tooling/Core/ |
Lookup.h | 22 class DeclContext; 41 const DeclContext *UseContext,
|
/external/clang/lib/AST/ |
DeclBase.cpp | 10 // This file implements the Decl and DeclContext classes. 76 DeclContext *Parent, std::size_t Extra) { 122 const char *DeclContext::getDeclKindName() const { 199 const DeclContext *Decl::getParentFunctionOrMethod() const { 200 for (const DeclContext *DC = getDeclContext(); 241 void Decl::setDeclContext(DeclContext *DC) { 245 void Decl::setLexicalDeclContext(DeclContext *DC) { 257 void Decl::setDeclContextsImpl(DeclContext *SemaDC, DeclContext *LexicalDC, 270 const DeclContext *LDC = getLexicalDeclContext() [all...] |
ExternalASTSource.cpp | 101 ExternalASTSource::FindExternalVisibleDeclsByName(const DeclContext *DC, 106 void ExternalASTSource::completeVisibleDeclsMap(const DeclContext *DC) {} 109 const DeclContext *DC, llvm::function_ref<bool(Decl::Kind)> IsKindWeWant,
|
DeclOpenMP.cpp | 29 DeclContext *DC,
|
/external/clang/lib/Tooling/Core/ |
Lookup.cpp | 19 static bool isInsideDifferentNamespaceWithSameName(const DeclContext *DeclA, 20 const DeclContext *DeclB) { 49 static StringRef getBestNamespaceSubstr(const DeclContext *DeclA, 86 const DeclContext *UseContext,
|
/external/clang/lib/Serialization/ |
ASTCommon.h | 81 const DeclContext *getDefinitiveDeclContext(const DeclContext *DC); 92 template<typename Fn> void numberAnonymousDeclsWithin(const DeclContext *DC,
|
/external/clang/tools/libclang/ |
IndexingContext.h | 62 const DeclContext *DC; 284 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); 424 const DeclContext *LexicalDC); 436 const DeclContext *DC, 442 const DeclContext *DC [all...] |
IndexTypeSourceInfo.cpp | 21 const DeclContext *ParentDC; 25 const DeclContext *DC) 98 const DeclContext *DC) { 107 const DeclContext *DC) { 118 const DeclContext *DC) {
|
/external/clang/include/clang/Analysis/Analyses/ |
UninitializedValues.h | 25 class DeclContext; 120 void runUninitializedVariablesAnalysis(const DeclContext &dc, const CFG &cfg,
|
/external/clang/lib/Frontend/ |
ASTConsumers.cpp | 82 if (DeclContext *DC = dyn_cast<DeclContext>(D)) { 86 Out << "Lookup map is in primary DeclContext " 89 Out << "Not a DeclContext\n"; 180 /// DeclContextPrinter - Decl and DeclContext Visualization 193 void PrintDeclContext(const DeclContext* DC, unsigned Indentation); 197 void DeclContextPrinter::PrintDeclContext(const DeclContext* DC, 199 // Print DeclContext name. 303 // Check the semantic DeclContext. 304 const DeclContext* SemaDC = D->getDeclContext() [all...] |
/frameworks/compile/slang/ |
slang_rs_object_ref_count.h | 101 clang::DeclContext *DC); 107 clang::DeclContext* mCurrentDC; 151 clang::DeclContext* DC, 195 void SetDeclContext(clang::DeclContext* DC) { mCurrentDC = DC; } 196 clang::DeclContext* GetDeclContext() const { return mCurrentDC; }
|
/external/clang/include/clang/Sema/ |
MultiplexExternalSemaSource.h | 95 bool FindExternalVisibleDeclsByName(const DeclContext *DC, 100 void completeVisibleDeclsMap(const DeclContext *DC) override; 103 /// DeclContext, after applying an optional filter predicate. 108 FindExternalLexicalDecls(const DeclContext *DC, 329 DeclContext *MemberContext,
|
SemaInternal.h | 68 // - else capture it in the DeclContext that maps to the 113 DeclContext *MemberContext, 130 void FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx, 223 DeclContext* DeclCtx; 228 typedef SmallVector<DeclContext*, 4> DeclContextList; 241 static DeclContextList buildContextChain(DeclContext *Start); 247 NamespaceSpecifierSet(ASTContext &Context, DeclContext *CurContext, 250 /// \brief Add the DeclContext (a namespace or record) to the set, computing 252 void addNameSpecifier(DeclContext *Ctx); 310 /// The pointer value being set to the current DeclContext indicate [all...] |
/external/clang/lib/Sema/ |
SemaLookup.cpp | 61 const DeclContext *Nominated; 62 const DeclContext *CommonAncestor; 65 UnqualUsingEntry(const DeclContext *Nominated, 66 const DeclContext *CommonAncestor) 70 const DeclContext *getCommonAncestor() const { 74 const DeclContext *getNominatedNamespace() const { 84 bool operator()(const UnqualUsingEntry &E, const DeclContext *DC) { 88 bool operator()(const DeclContext *DC, const UnqualUsingEntry &E) { 100 llvm::SmallPtrSet<DeclContext*, 8> visited; 110 DeclContext *InnermostFileDC = InnermostFileScope->getEntity() [all...] |