9#ifndef LLDB_SOURCE_PLUGINS_EXPRESSIONPARSER_CLANG_NAME_SEARCH_CONTEXT_H 
   10#define LLDB_SOURCE_PLUGINS_EXPRESSIONPARSER_CLANG_NAME_SEARCH_CONTEXT_H 
   15#include "llvm/ADT/SmallSet.h" 
   64                    clang::DeclarationName name, 
const clang::DeclContext *dc)
 
 
 
Manages and observes all Clang AST node importing in LLDB.
 
std::shared_ptr< NamespaceMap > NamespaceMapSP
 
Generic representation of a type in a programming language.
 
A TypeSystem implementation based on Clang.
 
A class that represents a running process on the host machine.
 
clang::NamedDecl * AddTypeDecl(const CompilerType &compiler_type)
Create a TypeDecl with the name being searched for and the provided type and register it in the right...
 
TypeSystemClang & m_clang_ts
The type system of the AST from which the lookup originated.
 
const clang::DeclarationName m_decl_name
The name being looked for.
 
clang::ASTContext & GetASTContext() const
 
NameSearchContext(TypeSystemClang &clang_ts, llvm::SmallVectorImpl< clang::NamedDecl * > &decls, clang::DeclarationName name, const clang::DeclContext *dc)
Constructor.
 
clang::NamedDecl * AddFunDecl(const CompilerType &type, bool extern_c=false)
Create a FunDecl with the name being searched for and the provided type and register it in the right ...
 
llvm::SmallVectorImpl< clang::NamedDecl * > & m_decls
The list of declarations already constructed.
 
clang::NamedDecl * AddGenericFunDecl()
Create a FunDecl with the name being searched for and generic type (i.e.
 
llvm::SmallSet< CompilerType, 5 > m_function_types
All the types of functions that have been reported, so we don't report conflicts.
 
bool m_found_local_vars_nsp
 
const clang::DeclContext * m_decl_context
The DeclContext to put declarations into.
 
void AddNamedDecl(clang::NamedDecl *decl)
Add a NamedDecl to the list of results.
 
void AddLookupResult(clang::DeclContextLookupResult result)
Add Decls from the provided DeclContextLookupResult to the list of results.
 
ClangASTImporter::NamespaceMapSP m_namespace_map
The mapping of all namespaces found for this request back to their modules.
 
clang::NamedDecl * AddVarDecl(const CompilerType &type)
Create a VarDecl with the name being searched for and the provided type and register it in the right ...