14 #ifndef LLVM_CLANG_AST_DECLLOOKUPS_H 15 #define LLVM_CLANG_AST_DECLLOOKUPS_H 30 StoredDeclsMap::iterator It, End;
41 StoredDeclsMap::iterator End)
92 if (!PreserveInternalState)
93 Primary->loadLazyLocalLexicalLookups();
105 #endif // LLVM_CLANG_AST_DECLLOOKUPS_H Defines the clang::ASTContext interface.
std::forward_iterator_tag iterator_category
friend bool operator!=(all_lookups_iterator x, all_lookups_iterator y)
bool hasExternalVisibleStorage() const
Whether this DeclContext has external storage containing additional declarations that are visible in ...
friend bool operator==(all_lookups_iterator x, all_lookups_iterator y)
lookups_range noload_lookups(bool PreserveInternalState) const
std::ptrdiff_t difference_type
The results of name lookup within a DeclContext.
DeclarationName getLookupName() const
StoredDeclsMap * buildLookup()
Ensure the lookup structure is fully-built and return it.
lookups_range lookups() const
all_lookups_iterator()=default
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.
llvm::iterator_range< all_lookups_iterator > lookups_range
StoredDeclsMap * getLookupPtr() const
Retrieve the internal representation of the lookup structure.
pointer operator->() const
all_lookups_iterator - An iterator that provides a view over the results of looking up every possible...
__PTRDIFF_TYPE__ ptrdiff_t
A signed integer type that is the result of subtracting two pointers.
Dataflow Directional Tag Classes.
DeclContext - This is used only as base class of specific decl types that can act as declaration cont...
DeclarationName - The name of a declaration.
ExternalASTSource * getExternalSource() const
Retrieve a pointer to the external AST source associated with this AST context, if any...
all_lookups_iterator operator++(int)
all_lookups_iterator(StoredDeclsMap::iterator It, StoredDeclsMap::iterator End)
DeclContextLookupResult lookup_result
ASTContext & getParentASTContext() const
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.
reference operator*() const