11#ifndef LLDB_SOURCE_PLUGINS_EXPRESSIONPARSER_CLANG_CLANGUTIL_H
12#define LLDB_SOURCE_PLUGINS_EXPRESSIONPARSER_CLANG_CLANGUTIL_H
14#include "clang/AST/DeclBase.h"
15#include "clang/AST/Type.h"
41 static std::string
DumpDecl(
const clang::Decl *d);
43 static std::string
ToString(
const clang::Type *t);
Represents a generic declaration such as a function declaration.
Generic representation of a type in a programming language.
A class that represents a running process on the host machine.
static clang::QualType GetQualType(const CompilerType &ct)
static std::string ToString(const clang::Type *t)
Returns a textual representation of the given type.
static std::string DumpDecl(const clang::Decl *d)
Returns a textual representation of the given Decl's AST.
static clang::Decl * GetDecl(const CompilerDecl &decl)
Returns the clang::Decl of the given CompilerDecl.
static clang::QualType GetCanonicalQualType(const CompilerType &ct)
static bool IsClangType(const CompilerType &ct)
static CompilerType RemoveFastQualifiers(const CompilerType &ct)
static clang::TagDecl * GetAsTagDecl(const CompilerType &type)