commit | fa7d53fa31516920d3425f5b2095d3fefb38ede2 | [log] [tgz] |
---|---|---|
author | Ed Schouten <ed@80386.nl> | Sat Sep 14 16:17:20 2013 +0000 |
committer | Ed Schouten <ed@80386.nl> | Sat Sep 14 16:17:20 2013 +0000 |
tree | be22994a5d44842ed51c7cccf4b05f156efa1ee5 | |
parent | 3225b9c9b35056f15b967bda1f1d8a3ca1680a42 [diff] |
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