Local thread_local variables are implicitly 'static'. (This doesn't apply to _Thread_...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 15 Apr 2013 08:33:22 +0000 (08:33 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 15 Apr 2013 08:33:22 +0000 (08:33 +0000)
commit5990db62f6e916779cb98ceed9a740cb35f19a24
tree30b852b1d1cb12c9302764b31551d966471983bf
parent774672e9434cb8d0e54371b7a78d19fa3e1fe5fa
Local thread_local variables are implicitly 'static'. (This doesn't apply to _Thread_local nor __thread.)

llvm-svn: 179517
clang/lib/Sema/SemaDecl.cpp
clang/test/Sema/thread-specifier.c
clang/test/SemaCXX/cxx11-thread-local.cpp [new file with mode: 0644]