diff options
| author | Ed Schouten <ed@80386.nl> | 2013-09-14 16:17:20 +0000 |
|---|---|---|
| committer | Ed Schouten <ed@80386.nl> | 2013-09-14 16:17:20 +0000 |
| commit | fa7d53fa31516920d3425f5b2095d3fefb38ede2 (patch) | |
| tree | be22994a5d44842ed51c7cccf4b05f156efa1ee5 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 3225b9c9b35056f15b967bda1f1d8a3ca1680a42 (diff) | |
| download | clang-fa7d53fa31516920d3425f5b2095d3fefb38ede2.tar.gz clang-fa7d53fa31516920d3425f5b2095d3fefb38ede2.tar.bz2 clang-fa7d53fa31516920d3425f5b2095d3fefb38ede2.tar.xz | |
Make __has_extension(c_thread_local) work.
Unlike C++11's "thread_local" keyword, C11's "_Thread_local" is in the
reserved namespace, meaning we provide it unconditionally; it is marked
as KEYALL in TokenKinds.def.
This means that like all the other C11 keywords, we can expose its
presence through __has_extension().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190755 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
