14 #ifndef LLVM_CLANG_AST_DECLLOOKUPS_H
15 #define LLVM_CLANG_AST_DECLLOOKUPS_H
27 StoredDeclsMap::iterator It, End;
37 StoredDeclsMap::iterator End)
Defines the clang::ASTContext interface.
friend bool operator!=(all_lookups_iterator x, all_lookups_iterator y)
StoredDeclsMap * getLookupPtr() const
Retrieve the internal representation of the lookup structure. This may omit some names if we are lazi...
friend bool operator==(all_lookups_iterator x, all_lookups_iterator y)
std::forward_iterator_tag iterator_category
The results of name lookup within a DeclContext. This is either a single result (with no stable stora...
all_lookups_iterator lookups_end() const
lookups_range noload_lookups() const
StoredDeclsMap * buildLookup()
Ensure the lookup structure is fully-built and return it.
all_lookups_iterator & operator++()
virtual void completeVisibleDeclsMap(const DeclContext *DC)
Ensures that the table of all visible declarations inside this context is up to date.
lookups_range lookups() const
ASTContext & getParentASTContext() const
llvm::iterator_range< all_lookups_iterator > lookups_range
all_lookups_iterator lookups_begin() const
Iterators over all possible lookups within this context.
DeclarationName getLookupName() const
reference operator*() const
ExternalASTSource * getExternalSource() const
Retrieve a pointer to the external AST source associated with this AST context, if any...
all_lookups_iterator noload_lookups_end() const
all_lookups_iterator noload_lookups_begin() const
Iterators over all possible lookups within this context that are currently loaded; don't attempt to r...
pointer operator->() const
all_lookups_iterator operator++(int)
std::ptrdiff_t difference_type
static __inline__ uint32_t uint32_t y
all_lookups_iterator(StoredDeclsMap::iterator It, StoredDeclsMap::iterator End)
__PTRDIFF_TYPE__ ptrdiff_t
DeclContext * getPrimaryContext()
static DeclarationName getUsingDirectiveName()
getUsingDirectiveName - Return name for all using-directives.
bool hasExternalVisibleStorage() const
Whether this DeclContext has external storage containing additional declarations that are visible in ...