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 892455e1de..b9ab25b645 100644
--- a/ir.h
+++ b/ir.h
@@ -207,6 +207,13 @@ public:
const char *function_name() const;
/**
+ * Check whether the qualifiers match between this signature's parameters
+ * and the supplied parameter list. If not, returns the name of the first
+ * parameter with mismatched qualifiers (for use in error messages).
+ */
+ const char *qualifiers_match(exec_list *params);
+
+ /**
* Function return type.
*
* \note This discards the optional precision qualifier.