mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
clover: Fix build after clang r348827
CodeGenOptions were moved to Basic.
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Aaron Watry <awatry@gmail.com>
Tested-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Kai Wasserbäch <kai@dev.carbon-project.org>
CC: mesa-stable@lists.freedesktop.org
(cherry picked from commit e4f9a37ace)
This commit is contained in:
parent
7d4cad25a6
commit
ce2df23205
1 changed files with 6 additions and 1 deletions
|
|
@ -58,9 +58,14 @@
|
|||
#include <llvm/Analysis/TargetLibraryInfo.h>
|
||||
|
||||
#include <clang/Basic/TargetInfo.h>
|
||||
#include <clang/Frontend/CodeGenOptions.h>
|
||||
#include <clang/Frontend/CompilerInstance.h>
|
||||
|
||||
#if HAVE_LLVM >= 0x0800
|
||||
#include <clang/Basic/CodeGenOptions.h>
|
||||
#else
|
||||
#include <clang/Frontend/CodeGenOptions.h>
|
||||
#endif
|
||||
|
||||
namespace clover {
|
||||
namespace llvm {
|
||||
namespace compat {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue