Add a setter for CVR qualifiers, patch by Lukasz Janyst!

llvm-svn: 61367
This commit is contained in:
Chris Lattner 2008-12-23 04:57:30 +00:00
parent f566eea614
commit 68a1b9a16f
1 changed files with 1 additions and 0 deletions

View File

@ -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(); }