#include "IncrementalAction.h"
#include "InterpreterUtils.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/PrettyPrinter.h"
#include "clang/AST/Type.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Interpreter/Interpreter.h"
#include "clang/Interpreter/Value.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/Sema/Lookup.h"
#include "clang/Sema/Sema.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
#include <cmath>
#include <cstdarg>
#include <sstream>
#include <string>
Go to the source code of this file.
|
namespace | clang |
| The JSON file list parser is used to communicate input to InstallAPI.
|
|
static std::string | DeclTypeToString (const QualType &QT, NamedDecl *D) |
static std::string | QualTypeToString (ASTContext &Ctx, QualType QT) |
static std::string | EnumToString (const Value &V) |
static std::string | FunctionToString (const Value &V, const void *Ptr) |
static std::string | VoidPtrToString (const void *Ptr) |
static std::string | CharPtrToString (const char *Ptr) |
REPL_EXTERNAL_VISIBILITY void * | __clang_Interpreter_SetValueWithAlloc (void *This, void *OutVal, void *OpaqueType) |
REPL_EXTERNAL_VISIBILITY void | __clang_Interpreter_SetValueNoAlloc (void *This, void *OutVal, void *OpaqueType,...) |
REPL_EXTERNAL_VISIBILITY void * | operator new (size_t __sz, void *__p, __clang_Interpreter_NewTag) noexcept |
â DEBUG_TYPE
#define DEBUG_TYPE "interp-value" |
â __clang_Interpreter_SetValueNoAlloc()
REPL_EXTERNAL_VISIBILITY void __clang_Interpreter_SetValueNoAlloc |
( |
void * | This, |
|
|
void * | OutVal, |
|
|
void * | OpaqueType, |
|
|
| ... ) |
Definition at line 649 of file InterpreterValuePrinter.cpp.
References clang::Type::castAs(), clang::Type::getAsEnumDecl(), clang::BuiltinType::getKind(), clang::Value::getKind(), clang::Value::getType(), clang::Value::isVoid(), clang::Value::K_PtrOrObj, clang::Value::setPtr(), va_arg, va_end, and va_start.
â __clang_Interpreter_SetValueWithAlloc()
â CharPtrToString()
std::string CharPtrToString |
( |
const char * | Ptr | ) |
|
|
static |
â DeclTypeToString()
â EnumToString()
std::string EnumToString |
( |
const Value & | V | ) |
|
|
static |
â FunctionToString()
std::string FunctionToString |
( |
const Value & | V, |
|
|
const void * | Ptr ) |
|
static |
â operator new()
â QualTypeToString()
Definition at line 47 of file InterpreterValuePrinter.cpp.
References DeclTypeToString(), clang::QualType::getAsString(), clang::QualType::getCanonicalType(), clang::GetFullTypeName(), clang::Type::getLocallyUnqualifiedSingleStepDesugaredType(), clang::QualType::getNonReferenceType(), clang::ASTContext::getPrintingPolicy(), clang::Type::isBuiltinType(), clang::Type::isFunctionPointerType(), clang::Type::isMemberPointerType(), clang::PrintingPolicy::SplitTemplateClosers, clang::PrintingPolicy::SuppressDefaultTemplateArgs, clang::PrintingPolicy::SuppressUnwrittenScope, and X.
Referenced by EnumToString().
â VoidPtrToString()
std::string VoidPtrToString |
( |
const void * | Ptr | ) |
|
|
static |