clang 22.0.0git
APValue.cpp File Reference
#include "clang/AST/APValue.h"
#include "Linkage.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/CharUnits.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/Expr.h"
#include "clang/AST/ExprCXX.h"
#include "clang/AST/Type.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"

Go to the source code of this file.

Classes

struct  clang::APValue::LV
struct  clang::APValue::MemberPointerData

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.

Functions

bool clang::operator== (const APValue::LValueBase &LHS, const APValue::LValueBase &RHS)
llvm::hash_code clang::hash_value (const APValue::LValueBase &Base)
static void profileIntValue (llvm::FoldingSetNodeID &ID, const llvm::APInt &V)
 Profile the value of an APInt, excluding its bit-width.
static double GetApproxValue (const llvm::APFloat &F)
static bool TryPrintAsStringLiteral (raw_ostream &Out, const PrintingPolicy &Policy, const ArrayType *ATy, ArrayRef< APValue > Inits)

Function Documentation

◆ GetApproxValue()

double GetApproxValue ( const llvm::APFloat & F)
static

Definition at line 632 of file APValue.cpp.

References V.

Referenced by clang::APValue::printPretty(), and clang::TextNodeDumper::Visit().

◆ profileIntValue()

void profileIntValue ( llvm::FoldingSetNodeID & ID,
const llvm::APInt & V )
static

Profile the value of an APInt, excluding its bit-width.

Definition at line 484 of file APValue.cpp.

References V.

Referenced by clang::APValue::Profile().

◆ TryPrintAsStringLiteral()