Merge pull request #942 from fjhenigman/noreturn
Fix guard around [[noreturn]].
This commit is contained in:
commit
477a39dbb1
@ -31,7 +31,7 @@
|
||||
namespace SPIRV_CROSS_NAMESPACE
|
||||
{
|
||||
#ifdef SPIRV_CROSS_EXCEPTIONS_TO_ASSERTIONS
|
||||
#ifndef _MSC_VER
|
||||
#if !defined(_MSC_VER) || defined(__clang__)
|
||||
[[noreturn]]
|
||||
#endif
|
||||
inline void
|
||||
|
Loading…
Reference in New Issue
Block a user