summaryrefslogtreecommitdiff
path: root/ir.h
diff options
context:
space:
mode:
Diffstat (limited to 'ir.h')
-rw-r--r--ir.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ir.h b/ir.h
index 118d97ffa3..df64e48823 100644
--- a/ir.h
+++ b/ir.h
@@ -214,6 +214,13 @@ public:
const char *qualifiers_match(exec_list *params);
/**
+ * Replace the current parameter list with the given one. This is useful
+ * if the current information came from a prototype, and either has invalid
+ * or missing parameter names.
+ */
+ void replace_parameters(exec_list *new_params);
+
+ /**
* Function return type.
*
* \note This discards the optional precision qualifier.