diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2010-04-02 15:09:33 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-04-02 15:09:33 -0700 |
commit | 45d8a70c12ee6ea956baaf898324a828496382f6 (patch) | |
tree | 6ab9d485e9473452869369802595b0f05daa1657 /ast.h | |
parent | 3f9a73d121e7cf160b268b2c5d16e8584eea94db (diff) |
Require that function formal parameters have names
Diffstat (limited to 'ast.h')
-rw-r--r-- | ast.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -432,6 +432,14 @@ public: char *identifier; int is_array; ast_expression *array_size; + + static void parameters_to_hir(simple_node *ast_parameters, + bool formal, exec_list *ir_parameters, + struct _mesa_glsl_parse_state *state); + +private: + /** Is this parameter declaration part of a formal parameter list? */ + bool formal_parameter; }; |