9#ifndef LLDB_SYMBOL_COMPILERDECL_H
10#define LLDB_SYMBOL_COMPILERDECL_H
42 explicit operator bool()
const {
return IsValid(); }
Represents a generic declaration context in a program.
Represents a generic declaration such as a function declaration.
void * GetOpaqueDecl() const
ConstString GetMangledName() const
CompilerType GetFunctionArgumentType(size_t arg_idx) const
bool operator<(const CompilerDecl &rhs) const
TypeSystem * m_type_system
CompilerType GetFunctionReturnType() const
CompilerDeclContext GetDeclContext() const
size_t GetNumFunctionArguments() const
void SetDecl(TypeSystem *type_system, void *decl)
CompilerType GetType() const
ConstString GetName() const
TypeSystem * GetTypeSystem() const
Scalar GetConstantValue() const
CompilerDecl(TypeSystem *type_system, void *decl)
Creates a CompilerDecl with the given TypeSystem and opaque pointer.
std::vector< lldb_private::CompilerContext > GetCompilerContext() const
Populate a valid compiler context from the current declaration.
Generic representation of a type in a programming language.
A uniqued constant string class.
Interface for representing a type system.
A class that represents a running process on the host machine.
bool operator!=(const Address &lhs, const Address &rhs)
bool operator==(const Address &lhs, const Address &rhs)