[OPENMP]Use copy constructors instead of assignment operators in declare
authorAlexey Bataev <a.bataev@hotmail.com>
Tue, 12 Nov 2019 16:19:26 +0000 (11:19 -0500)
committerAlexey Bataev <a.bataev@hotmail.com>
Tue, 12 Nov 2019 18:13:37 +0000 (13:13 -0500)
commit3c676e3891b962b859e7613781419ee0dacce7dd
tree45b1743ed216c2f17f54a9a8effbb25ed2e8b199
parent4230fa939021e7a85f3ec06a4b1d8c661dfe329b
[OPENMP]Use copy constructors instead of assignment operators in declare
reduction initializers.

Better to use copy constructor at the initialization of the declare
reduction construct rather than assignment operator.
clang/lib/Parse/ParseOpenMP.cpp
clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
clang/test/AST/dump.cpp
clang/test/OpenMP/declare_reduction_messages.cpp
clang/test/OpenMP/for_reduction_codegen_UDR.cpp