aboutsummaryrefslogtreecommitdiff
path: root/source/validate.h
diff options
context:
space:
mode:
authorLei Zhang <antiagainst@gmail.com>2016-09-02 09:51:44 -0400
committerGitHub <noreply@github.com>2016-09-02 09:51:44 -0400
commit5abf40816a2e28561fb565a1676e79a26f26b97f (patch)
tree297aa52327449d017a62181828f4c4ebab9b3d11 /source/validate.h
parent75bf78c70bc4de62f5a646399737289a27270111 (diff)
downloadspirv-tools-5abf40816a2e28561fb565a1676e79a26f26b97f.tar.gz
Kill the spvCheckReturn macro.
Diffstat (limited to 'source/validate.h')
-rw-r--r--source/validate.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/validate.h b/source/validate.h
index b8ba662b..3123c40d 100644
--- a/source/validate.h
+++ b/source/validate.h
@@ -196,7 +196,4 @@ spv_result_t spvValidateIDs(const spv_instruction_t* pInstructions,
const spv_ext_inst_table extInstTable,
spv_position position, spv_diagnostic* pDiagnostic);
-#define spvCheckReturn(expression) \
- if (spv_result_t error = (expression)) return error;
-
#endif // LIBSPIRV_VALIDATE_H_