[OPENMP]Fix PR44133: Emit definitions of used constructors/functions.
authorAlexey Bataev <a.bataev@hotmail.com>
Mon, 2 Dec 2019 18:04:30 +0000 (13:04 -0500)
committerAlexey Bataev <a.bataev@hotmail.com>
Mon, 2 Dec 2019 19:07:29 +0000 (14:07 -0500)
commit478541a6da59fa3eadab98cabdcb0126fad3fdb5
treed801c1b3e47a027ebd6ce2ca7128d326ae221c52
parent9ec6d7121132d30db68818e4f684910f76307fdf
[OPENMP]Fix PR44133: Emit definitions of used constructors/functions.

Need to fully rebuild the initializer/combiner when instatiating the
declare reduction constrcut to properly emit used functions.
clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
clang/test/OpenMP/declare_reduction_codegen.cpp