aboutsummaryrefslogtreecommitdiff
path: root/gcc/hsa-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/hsa-common.h')
-rw-r--r--gcc/hsa-common.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/hsa-common.h b/gcc/hsa-common.h
index 9c61786..121c4ea 100644
--- a/gcc/hsa-common.h
+++ b/gcc/hsa-common.h
@@ -55,8 +55,9 @@ class hsa_bb;
/* Class representing an input argument, output argument (result) or a
variable, that will eventually end up being a symbol directive. */
-struct hsa_symbol
+class hsa_symbol
{
+public:
/* Constructor. */
hsa_symbol (BrigType16_t type, BrigSegment8_t segment,
BrigLinkage8_t linkage, bool global_scope_p = false,
@@ -1213,8 +1214,9 @@ enum hsa_function_kind
HSA_FUNCTION
};
-struct hsa_function_summary
+class hsa_function_summary
{
+public:
/* Default constructor. */
hsa_function_summary ();