clover: make GCC 4.8 happy
authorDieter Nützel <Dieter@nuetzel-hh.de>
Wed, 27 Jul 2016 22:20:25 +0000 (00:20 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Thu, 28 Jul 2016 03:41:05 +0000 (20:41 -0700)
commit041b330a3204d894fe95b5bae6a740936a7ebc0f
treeb4eb931144fa670717788e23f4fc434b25b78c32
parenta86aa87342221625f15fdcbec603d014cf9abba3
clover: make GCC 4.8 happy

Without this GCC 4.8.x throws below error:

error: invalid initialization of non-const reference of type
'clover::llvm::compat::raw_ostream_to_emit_file {aka llvm::raw_svector_ostream&}'
from an rvalue of type '<brace-enclosed initializer list>'

v2: change commit title and add error message like Eric Engestrom requested

Signed-off-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97019
[ Francisco Jerez: Trivial formatting fix. ]
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/state_trackers/clover/llvm/codegen/native.cpp