14 #ifndef LLVM_CLANG_AST_DECLLOOKUPS_H
15 #define LLVM_CLANG_AST_DECLLOOKUPS_H
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.
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.
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 - An iterator that provides a view over the results of looking up every possible...
const TemplateArgument * iterator
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
__PTRDIFF_TYPE__ ptrdiff_t
A signed integer type that is the result of subtracting two pointers.
DeclContext - This is used only as base class of specific decl types that can act as declaration cont...
DeclarationName - The name of a declaration.
unsigned Map[Count]
The type of a lookup table which maps from language-specific address spaces to target-specific ones...
all_lookups_iterator operator++(int)
std::ptrdiff_t difference_type
all_lookups_iterator(StoredDeclsMap::iterator It, StoredDeclsMap::iterator End)
DeclContext * getPrimaryContext()
getPrimaryContext - There may be many different declarations of the same entity (including forward de...
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 ...