[OPENMP] Consider global named register variables as threadprivate by default.
authorAlexey Bataev <a.bataev@hotmail.com>
Tue, 13 Jan 2015 03:35:30 +0000 (03:35 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Tue, 13 Jan 2015 03:35:30 +0000 (03:35 +0000)
commit26a3924a4f6b92598078e77e07584448ad5cd76d
tree58710327140ad7daef40f85d891a284fb60c72cc
parentfaa4f074eb99de3fab08aed7d154f460235a0c22
[OPENMP] Consider global named register variables as threadprivate by default.
Register are thread-local by default, so we have to consider them as threadprivate.

llvm-svn: 225759
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaOpenMP.cpp
clang/test/OpenMP/threadprivate_messages.cpp