commit | e27bded35821829745d014f53da2ab5e57fc879e | [log] [tgz] |
---|---|---|
author | Alp Toker <alp@nuanti.com> | Tue Dec 31 03:16:55 2013 +0000 |
committer | Alp Toker <alp@nuanti.com> | Tue Dec 31 03:16:55 2013 +0000 |
tree | d264bec555790ed9e7eda9c9f448703eb7855f58 | |
parent | ec62c1ae99557758eb8a6afe11f0e41c196a0411 [diff] |
Silence g++ 4.9 build issue lib/Support/ThreadLocal.cpp:53:15: error: typedef 'SIZE_TOO_BIG' locally defined but not used [-Werror=unused-local-typedefs] typedef int SIZE_TOO_BIG[sizeof(pthread_key_t) <= sizeof(data) ? 1 : -1]; Done the C++11 way, switching on and using LLVM_STATIC_ASSERT() instead of LLVM_ATTRIBUTE_UNUSED. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198255 91177308-0d34-0410-b5e6-96231b3b80d8