]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
cp-tree.h (enum tsubst_flags): Rename from enum tsubst_flags_t.
authorIan Lance Taylor <iant@google.com>
Thu, 16 Apr 2009 17:14:36 +0000 (17:14 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 16 Apr 2009 17:14:36 +0000 (17:14 +0000)
* cp-tree.h (enum tsubst_flags): Rename from enum tsubst_flags_t.
(tsubst_flags_t): Change typedef from enum type to int.

From-SVN: r146205

gcc/cp/ChangeLog
gcc/cp/cp-tree.h

index c0fa5ba4995344c5de243c384c2bb788d1ba5d0b..1991ad6beacdb15389f81a7fd037935bf7e723bd 100644 (file)
@@ -1,3 +1,8 @@
+2009-04-16  Ian Lance Taylor  <iant@google.com>
+
+       * cp-tree.h (enum tsubst_flags): Rename from enum tsubst_flags_t.
+       (tsubst_flags_t): Change typedef from enum type to int.
+
 2009-04-16  Le-Chun Wu  <lcwu@google.com>
 
        * decl.c (check_initializer): Use TYPE_VECTOR_OPAQUE
index 849fdc736e430637ec67f3386f58855a4cca9f54..e416edfe6856d43c057737c0cb58a2b81263f84f 100644 (file)
@@ -3566,7 +3566,7 @@ typedef enum linkage_kind {
 } linkage_kind;
 
 /* Bitmask flags to control type substitution.  */
-typedef enum tsubst_flags_t {
+enum tsubst_flags {
   tf_none = 0,                  /* nothing special */
   tf_error = 1 << 0,            /* give error messages  */
   tf_warning = 1 << 1,          /* give warnings too  */
@@ -3585,7 +3585,11 @@ typedef enum tsubst_flags_t {
                                    when issuing other errors.   */
   /* Convenient substitution flags combinations.  */
   tf_warning_or_error = tf_warning | tf_error
-} tsubst_flags_t;
+};
+
+/* This type is used for parameters and variables which hold
+   combinations of the flags in enum tsubst_flags.  */
+typedef int tsubst_flags_t;
 
 /* The kind of checking we can do looking in a class hierarchy.  */
 typedef enum base_access {