clang  14.0.0git
Classes | Namespaces | Functions
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"
Include dependency graph for APValue.cpp:

Go to the source code of this file.


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




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. More...
static double GetApproxValue (const llvm::APFloat &F)
MutableArrayRef< APValue::LValuePathEntrysetLValueUninit (APValue::LValueBase B, const CharUnits &O, unsigned Size, bool OnePastTheEnd, bool IsNullPtr)

Function Documentation

◆ GetApproxValue()

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

Definition at line 620 of file APValue.cpp.

References V.

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

◆ profileIntValue()

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

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

Definition at line 472 of file APValue.cpp.

References min(), and V.

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

◆ setLValueUninit()

MutableArrayRef<APValue::LValuePathEntry> setLValueUninit ( APValue::LValueBase  B,
const CharUnits O,
unsigned  Size,
bool  OnePastTheEnd,
bool  IsNullPtr