13#ifndef LLVM_CLANG_AST_DECLLOOKUPS_H
14#define LLVM_CLANG_AST_DECLLOOKUPS_H
29 StoredDeclsMap::iterator It, End;
40 StoredDeclsMap::iterator End)
91 if (!PreserveInternalState)
92 Primary->loadLazyLocalLexicalLookups();
Defines the clang::ASTContext interface.
ExternalASTSource * getExternalSource() const
Retrieve a pointer to the external AST source associated with this AST context, if any.
The results of name lookup within a DeclContext.
all_lookups_iterator - An iterator that provides a view over the results of looking up every possible...
all_lookups_iterator(StoredDeclsMap::iterator It, StoredDeclsMap::iterator End)
all_lookups_iterator()=default
friend bool operator!=(all_lookups_iterator x, all_lookups_iterator y)
std::forward_iterator_tag iterator_category
DeclarationName getLookupName() const
std::ptrdiff_t difference_type
reference operator*() const
all_lookups_iterator operator++(int)
pointer operator->() const
all_lookups_iterator & operator++()
friend bool operator==(all_lookups_iterator x, all_lookups_iterator y)
DeclContext - This is used only as base class of specific decl types that can act as declaration cont...
DeclContextLookupResult lookup_result
ASTContext & getParentASTContext() const
lookups_range noload_lookups(bool PreserveInternalState) const
bool hasExternalVisibleStorage() const
Whether this DeclContext has external storage containing additional declarations that are visible in ...
lookups_range lookups() const
StoredDeclsMap * buildLookup()
Ensure the lookup structure is fully-built and return it.
llvm::iterator_range< all_lookups_iterator > lookups_range
DeclContext * getPrimaryContext()
getPrimaryContext - There may be many different declarations of the same entity (including forward de...
StoredDeclsMap * getLookupPtr() const
Retrieve the internal representation of the lookup structure.
The name of a declaration.
static DeclarationName getUsingDirectiveName()
Returns the name for all C++ using-directives.
virtual void completeVisibleDeclsMap(const DeclContext *DC)
Ensures that the table of all visible declarations inside this context is up to date.
The JSON file list parser is used to communicate input to InstallAPI.