summaryrefslogtreecommitdiff
path: root/ir.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-04-28 11:49:12 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-04-28 15:34:52 -0700
commitabd40b15210c17b2a3ba8fcffc868fda203efa01 (patch)
treed5f78a55ee20488e0102a7ce1a6d2ac94d5d9fc3 /ir.h
parent0e385196f65d0f8dc3238e7eedb6f2d6c0a79a5d (diff)
Factor out qualifier checking code for later reuse.
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.