Go to the documentation of this file.
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();
104 #endif // LLVM_CLANG_AST_DECLLOOKUPS_H
bool hasExternalVisibleStorage() const
Whether this DeclContext has external storage containing additional declarations that are visible in ...
ASTContext & getParentASTContext() const
all_lookups_iterator & operator++()
DeclContext - This is used only as base class of specific decl types that can act as declaration cont...
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)
DeclContext * getPrimaryContext()
getPrimaryContext - There may be many different declarations of the same entity (including forward de...
The name of a declaration.
llvm::iterator_range< all_lookups_iterator > lookups_range
reference operator*() const
ExternalASTSource * getExternalSource() const
Retrieve a pointer to the external AST source associated with this AST context, if any.
lookups_range lookups() const
all_lookups_iterator operator++(int)
std::forward_iterator_tag iterator_category
lookups_range noload_lookups(bool PreserveInternalState) const
IRgen optimization opportunities The common pattern of short x
all_lookups_iterator()=default
DeclarationName getLookupName() const
DeclContextLookupResult lookup_result
StoredDeclsMap * buildLookup()
Ensure the lookup structure is fully-built and return it.
__PTRDIFF_TYPE__ ptrdiff_t
A signed integer type that is the result of subtracting two pointers.
virtual void completeVisibleDeclsMap(const DeclContext *DC)
Ensures that the table of all visible declarations inside this context is up to date.
friend bool operator!=(all_lookups_iterator x, all_lookups_iterator y)
pointer operator->() const
The results of name lookup within a DeclContext.
StoredDeclsMap * getLookupPtr() const
Retrieve the internal representation of the lookup structure.
friend bool operator==(all_lookups_iterator x, all_lookups_iterator y)
std::ptrdiff_t difference_type
static DeclarationName getUsingDirectiveName()
Returns the name for all C++ using-directives.