diff options
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r-- | gcc/cp/decl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 953cb041bcc..a8d590cdb57 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -9906,7 +9906,7 @@ grokdeclarator (const cp_declarator *declarator, { /* Apply the c++11 attributes to the type preceding them. */ input_location = declspecs->locations[ds_std_attribute]; - decl_attributes (&type, declspecs->std_attributes, 0); + type_attributes (&type, declspecs->std_attributes, 0); input_location = saved_loc; } @@ -9932,7 +9932,7 @@ grokdeclarator (const cp_declarator *declarator, attr_flags |= (int) ATTR_FLAG_FUNCTION_NEXT; if (declarator->kind == cdk_array) attr_flags |= (int) ATTR_FLAG_ARRAY_NEXT; - returned_attrs = decl_attributes (&type, + returned_attrs = type_attributes (&type, chainon (returned_attrs, attrs), attr_flags); } @@ -10199,7 +10199,7 @@ grokdeclarator (const cp_declarator *declarator, The optional attribute-specifier-seq appertains to the function type. */ - decl_attributes (&type, attrs, 0); + type_attributes (&type, attrs, 0); } break; @@ -10372,7 +10372,7 @@ grokdeclarator (const cp_declarator *declarator, [the optional attribute-specifier-seq (7.6.1) appertains to the pointer and not to the object pointed to]. */ if (declarator->std_attributes) - decl_attributes (&type, declarator->std_attributes, + type_attributes (&type, declarator->std_attributes, 0); ctype = NULL_TREE; |