In llvm/clang commit 348827 CodeGenOptions were moved from Frontend to Basic .
This breaks building mesa-git with opencl support.
Created attachment 142791 [details] [review]
(In reply to Yurii Kolesnykov from comment #1)
> Created attachment 142791 [details] [review] [review]
Have you tested the patch with LLVM-7? It looks like it would fail the build.
I stumbled across this issue as well and didn't check the bug tracker but immediately prepared . That patch should fix this problem without leaving older LLVM versions out in the cold.
Fixed in e4f9a37ace750646fd75fbbdff9b5e77a0b26cfb.
clover: Fix build after clang r348827
CodeGenOptions were moved to Basic.