[builtins] Fix -Wunused-local-typedef warning in compile time asserts

Use the __attribute__ spellings when compiling with clang-cl so that
__attribute__((unused)) expands to something.

llvm-svn: 345550
This commit is contained in:
Reid Kleckner 2018-10-29 22:48:14 +00:00
parent 23c9efc071
commit 143f1a9e72
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@
#define AEABI_RTABI __attribute__((__pcs__("aapcs")))
#ifdef _MSC_VER
#if defined(_MSC_VER) && !defined(__clang__)
#define ALWAYS_INLINE __forceinline
#define NOINLINE __declspec(noinline)
#define NORETURN __declspec(noreturn)