Home | History | Annotate | Download | only in AST

Lines Matching defs:APValue

1 //===--- APValue.cpp - Union class for APFloat/APSInt/Complex -------------===//
10 // This file implements the APValue class.
14 #include "clang/AST/APValue.h"
29 APValue::APValue(const Expr* B) : Kind(Uninitialized) {
33 const APValue &APValue::operator=(const APValue &RHS) {
65 void APValue::MakeUninit() {
82 void APValue::dump() const {
95 void APValue::print(raw_ostream &OS) const {
97 default: llvm_unreachable("Unknown APValue kind!");
125 const APValue& V) {
127 default: llvm_unreachable("Unknown APValue kind!");
128 case APValue::Uninitialized:
131 case APValue::Int:
134 case APValue::Float:
137 case APValue::Vector:
146 case APValue::ComplexInt:
149 case APValue::ComplexFloat:
153 case APValue::LValue:
160 const APValue &V) {
167 const Expr* APValue::getLValueBase() const {
172 CharUnits APValue::getLValueOffset() const {
177 void APValue::setLValue(const Expr *B, const CharUnits &O) {
183 void APValue::MakeLValue() {