clover: Fix compilation after clang r315871
authorJan Vesely <jan.vesely@rutgers.edu>
Sat, 21 Oct 2017 19:38:54 +0000 (15:38 -0400)
committerJan Vesely <jan.vesely@rutgers.edu>
Wed, 25 Oct 2017 22:57:42 +0000 (18:57 -0400)
commita6d38f476beaaf0a9677cfc168172121b5779570
treec23e2e8a001fb3ce3b113ce1be9489a1a7addfb0
parentb85cd69415f24ff4653e39f82dcd309363f65c59
clover: Fix compilation after clang r315871

v2: use a more generic compat function
v3: rename and formatting cleanup

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103388
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
CC: <mesa-stable@lists.freedesktop.org>
src/gallium/state_trackers/clover/llvm/codegen/common.cpp
src/gallium/state_trackers/clover/llvm/compat.hpp