Merge pull request #942 from fjhenigman/noreturn

Fix guard around [[noreturn]].
This commit is contained in:
Hans-Kristian Arntzen 2019-04-10 16:50:20 +02:00 committed by GitHub
commit 477a39dbb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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