Commit 7a36f481 by Chris Forbes

make NDEBUG version of UNIMPLEMENTED() macro variadic too

Change-Id: Ib5e2ec3c443955aefe8b001b926469b9ce5accff Reviewed-on: https://swiftshader-review.googlesource.com/c/23828Tested-by: 's avatarChris Forbes <chrisforbes@google.com> Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
parent 755d7440
...@@ -74,7 +74,7 @@ inline void trace() {} ...@@ -74,7 +74,7 @@ inline void trace() {}
assert(false); \ assert(false); \
} while(0) } while(0)
#else #else
#define UNIMPLEMENTED() FIXME("\t! Unimplemented: %s(%d)\n", __FUNCTION__, __LINE__) #define UNIMPLEMENTED(...) FIXME("\t! Unimplemented: %s(%d)\n", __FUNCTION__, __LINE__)
#endif #endif
// A macro for code which is not expected to be reached under valid assumptions // A macro for code which is not expected to be reached under valid assumptions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment