forked from OSchip/llvm-project
IRgen/CGValue: Add getQuals(), so qualifiers can be modified on an LValue.
llvm-svn: 111719
This commit is contained in:
parent
e50dda95ee
commit
b657ac51cf
|
@ -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; }
|
||||
|
|
Loading…
Reference in New Issue