Add a setter for CVR qualifiers, patch by Lukasz Janyst!
llvm-svn: 61367
This commit is contained in:
parent
f566eea614
commit
68a1b9a16f
|
@ -93,6 +93,7 @@ public:
|
|||
: Value(const_cast<Type*>(Ptr), Quals) {}
|
||||
|
||||
unsigned getCVRQualifiers() const { return Value.getInt(); }
|
||||
void setCVRQualifiers(unsigned Quals) { Value.setInt(Quals); }
|
||||
Type *getTypePtr() const { return Value.getPointer(); }
|
||||
|
||||
void *getAsOpaquePtr() const { return Value.getOpaqueValue(); }
|
||||
|
|
Loading…
Reference in New Issue