git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202926
91177308-0d34-0410-b5e6-
96231b3b80d8
virtual void anchor();
public:
- enum {
+ enum Type {
isInteger,
isString,
isExpr,
};
protected:
- /// Type - Type of data stored in the value.
+ /// Ty - Type of data stored in the value.
///
- unsigned Type;
+ Type Ty;
-public:
- explicit DIEValue(unsigned T) : Type(T) {}
+ explicit DIEValue(Type T) : Ty(T) {}
virtual ~DIEValue() {}
+public:
// Accessors
- unsigned getType() const { return Type; }
+ Type getType() const { return Ty; }
/// EmitValue - Emit value via the Dwarf writer.
///