IRgen/CGValue: Add getQuals(), so qualifiers can be modified on an LValue.

llvm-svn: 111719
This commit is contained in:
Daniel Dunbar 2010-08-21 03:29:54 +00:00
parent e50dda95ee
commit b657ac51cf
1 changed files with 3 additions and 0 deletions

View File

@ -197,6 +197,9 @@ public:
Expr *getBaseIvarExp() const { return BaseIvarExp; }
void setBaseIvarExp(Expr *V) { BaseIvarExp = V; }
const Qualifiers &getQuals() const { return Quals; }
Qualifiers &getQuals() { return Quals; }
unsigned getAddressSpace() const { return Quals.getAddressSpace(); }
unsigned getAlignment() const { return Alignment; }