[OPENMP] Allow redeclaration of variables as threadprivate.
authorAlexey Bataev <a.bataev@hotmail.com>
Wed, 8 Apr 2015 12:45:41 +0000 (12:45 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Wed, 8 Apr 2015 12:45:41 +0000 (12:45 +0000)
commit7c2ed44905692e33d463cfbcae0a1c6476afbb40
treef40a0fccfeefd1fa706b86142d0ae565bc893d26
parent91fc0b3c10b652b435f31bf343432097a08b6acf
[OPENMP] Allow redeclaration of variables as threadprivate.

No need to emit an error message if the variable is redeclared as threadprivate.

llvm-svn: 234402
clang/lib/Sema/SemaOpenMP.cpp
clang/test/OpenMP/threadprivate_ast_print.cpp
clang/test/OpenMP/threadprivate_codegen.cpp
clang/test/OpenMP/threadprivate_messages.cpp