diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2010-04-02 15:30:45 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-04-02 15:30:45 -0700 |
commit | cf37c9e8dad4349e45cb91d36957484fd76ce264 (patch) | |
tree | bf82ec510d3d9b945a5b7ecd705e49272c7687ec /ast.h | |
parent | 45d8a70c12ee6ea956baaf898324a828496382f6 (diff) |
Additional void parameter checks
If there is a void parameter it must not have a name, and it must be
the only parameter.
Diffstat (limited to 'ast.h')
-rw-r--r-- | ast.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -440,6 +440,13 @@ public: private: /** Is this parameter declaration part of a formal parameter list? */ bool formal_parameter; + + /** + * Is this parameter 'void' type? + * + * This field is set by \c ::hir. + */ + bool is_void; }; |