[cfe-commits] r111719 - /cfe/trunk/lib/CodeGen/CGValue.h
Daniel Dunbar
daniel at zuster.org
Fri Aug 20 20:29:55 PDT 2010
Author: ddunbar
Date: Fri Aug 20 22:29:54 2010
New Revision: 111719
URL: http://llvm.org/viewvc/llvm-project?rev=111719&view=rev
Log:
IRgen/CGValue: Add getQuals(), so qualifiers can be modified on an LValue.
Modified:
cfe/trunk/lib/CodeGen/CGValue.h
Modified: cfe/trunk/lib/CodeGen/CGValue.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGValue.h?rev=111719&r1=111718&r2=111719&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGValue.h (original)
+++ cfe/trunk/lib/CodeGen/CGValue.h Fri Aug 20 22:29:54 2010
@@ -197,6 +197,9 @@
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; }
More information about the cfe-commits
mailing list