summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/cxx11-thread-local.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Sema] Emit a better diagnostic when variable redeclarations disagreeDavid Majnemer2015-07-141-1/+1
| | | | | | | | | | | We referred to all declaration in definitions in our diagnostic messages which is can be inaccurate. Instead, classify the declaration and emit an appropriate diagnostic for the new declaration and an appropriate note pointing to the old one. This fixes PR24116. llvm-svn: 242190
* Revert r179671 and just pass a triple to the test for a platform with knownEric Christopher2013-04-171-2/+1
| | | | | | TLS support. llvm-svn: 179692
* Add a bit of a hack to deal with a failing testcase on darwin10 bots.Eric Christopher2013-04-171-0/+1
| | | | | | | | | | | | | | We currently emit an error message when you try to use thread local storage on targets that don't support it and testing C++11 thread locals will trip this. We don't want to xfail the test for all darwin hosts so add a quick hack to check for darwin10 and disable the test based on that. Only checking darwin10 because anything earlier is really old and I don't have a list of what other hosts don't support tls handy. Alternate suggestions welcome! llvm-svn: 179671
* Local thread_local variables are implicitly 'static'. (This doesn't apply to ↵Richard Smith2013-04-151-0/+23
_Thread_local nor __thread.) llvm-svn: 179517
OpenPOWER on IntegriCloud