* cp-tree.h (DECL_MUTABLE_P): Use FIELD_DECL_CHECK.
From-SVN: r274381
This commit is contained in:
parent
8fc306e94b
commit
82614ffbfd
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2019-08-13 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
* cp-tree.h (DECL_MUTABLE_P): Use FIELD_DECL_CHECK.
|
||||
|
||||
2019-08-10 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* parser.c (cp_parser_omp_clause_name): Parse device_type.
|
||||
|
|
|
@ -3065,9 +3065,9 @@ struct GTY(()) lang_decl {
|
|||
(DECL_NONSTATIC_MEMBER_FUNCTION_P (NODE) \
|
||||
|| TREE_CODE (NODE) == FIELD_DECL)
|
||||
|
||||
/* Nonzero for _DECL means that this member object type
|
||||
/* Nonzero for a FIELD_DECL means that this member object type
|
||||
is mutable. */
|
||||
#define DECL_MUTABLE_P(NODE) (DECL_LANG_FLAG_0 (NODE))
|
||||
#define DECL_MUTABLE_P(NODE) (DECL_LANG_FLAG_0 (FIELD_DECL_CHECK (NODE)))
|
||||
|
||||
/* Nonzero for _DECL means that this constructor or conversion function is
|
||||
non-converting. */
|
||||
|
|
Loading…
Add table
Reference in a new issue