aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2012-04-06 09:25:37 -0400
committerJason Merrill <jason@gcc.gnu.org>2012-04-06 09:25:37 -0400
commitb258592a08389223dd89ba0f31384f2adf9906c4 (patch)
treeace55d71084fee9f2f1d5a60f18b029c465e6d1e /gcc/cp
parentbdb7ddcc320793e5ea4737ebf0df156bdc5a8e87 (diff)
downloadgcc-b258592a08389223dd89ba0f31384f2adf9906c4.zip
gcc-b258592a08389223dd89ba0f31384f2adf9906c4.tar.gz
gcc-b258592a08389223dd89ba0f31384f2adf9906c4.tar.bz2
xvalue comment
From-SVN: r186186
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/cp-tree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index 8bca1fa..db5e8a5 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -4043,8 +4043,8 @@ enum tag_types {
enum cp_lvalue_kind_flags {
clk_none = 0, /* Things that are not an lvalue. */
clk_ordinary = 1, /* An ordinary lvalue. */
- clk_rvalueref = 2,/* An rvalue formed using an rvalue reference */
- clk_class = 4, /* An rvalue of class-type. */
+ clk_rvalueref = 2,/* An xvalue (rvalue formed using an rvalue reference) */
+ clk_class = 4, /* A prvalue of class-type. */
clk_bitfield = 8, /* An lvalue for a bit-field. */
clk_packed = 16 /* An lvalue for a packed field. */
};