Skip to content

Commit fc7e390

Browse files
svenvhAlexeySotkin
authored andcommitted
Drop include guard from SPIRVErrorEnum.h
SPIRVErrorEnum.h is included multiple times, and the include guard caused the SPIRVErrorMap (which is the second inclusion of SPIRVErrorEnum.h in SPIRVError.h) to remain empty.
1 parent ed82660 commit fc7e390

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed
Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#ifndef SPIRV_LIBSPIRV_SPIRVERRORENUM_H
2-
#define SPIRV_LIBSPIRV_SPIRVERRORENUM_H
3-
41
/* The error code name should be meaningful since it is part of error message */
52
_SPIRV_OP(Success, "")
63
_SPIRV_OP(InvalidTargetTriple,
@@ -10,5 +7,3 @@ _SPIRV_OP(InvalidMemoryModel, "Expects 0-3.")
107
_SPIRV_OP(InvalidFunctionControlMask, "")
118
_SPIRV_OP(InvalidBuiltinSetName, "Expects OpenCL.std.")
129
_SPIRV_OP(InvalidFunctionCall, "Unexpected llvm intrinsic:")
13-
14-
#endif

0 commit comments

Comments
 (0)