aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/parser.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index 4635115..173a62f 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -2783,16 +2783,16 @@ cp_parser_primary_expression (cp_parser *parser,
&& INTEGRAL_OR_ENUMERATION_TYPE_P (TREE_TYPE (decl)))
/* Const variables or static data members of integral
or enumeration types initialized with constant
- expressions (or dependent expressions - in this case
- the check will be done at instantiation time). */
+ expressions (or dependent expressions - in this case
+ the check will be done at instantiation time). */
&& !(TREE_CODE (decl) == VAR_DECL
&& INTEGRAL_OR_ENUMERATION_TYPE_P (TREE_TYPE (decl))
&& DECL_INITIAL (decl)
- && (TREE_CONSTANT (DECL_INITIAL (decl))
- || type_dependent_expression_p
- (DECL_INITIAL (decl))
- || value_dependent_expression_p
- (DECL_INITIAL (decl)))))
+ && (TREE_CONSTANT (DECL_INITIAL (decl))
+ || type_dependent_expression_p
+ (DECL_INITIAL (decl))
+ || value_dependent_expression_p
+ (DECL_INITIAL (decl)))))
{
if (!parser->allow_non_constant_expression_p)
return cp_parser_non_constant_id_expression (decl);