mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-08 10:00:27 +01:00
clc: reorder headers to fix compilation errors due to UNUSED
Cc: mesa-stable Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39374>
This commit is contained in:
parent
29e7a1fff9
commit
7f9a7ed553
1 changed files with 6 additions and 2 deletions
|
|
@ -28,8 +28,6 @@
|
|||
#include <sstream>
|
||||
#include <mutex>
|
||||
|
||||
#include "util/ralloc.h"
|
||||
#include "util/set.h"
|
||||
#include <llvm/ADT/ArrayRef.h>
|
||||
#include <llvm/IR/DiagnosticPrinter.h>
|
||||
#include <llvm/IR/DiagnosticInfo.h>
|
||||
|
|
@ -68,7 +66,13 @@
|
|||
#include <llvm/Support/VirtualFileSystem.h>
|
||||
#endif
|
||||
|
||||
/* We have to include our own headers after LLVM/clang as they seem to use
|
||||
* `UNUSED` within enum definitions:
|
||||
* https://github.com/llvm/llvm-project/blob/ea443eeb2ab8ed49ffb783c2025fed6629a36f10/clang/include/clang/Basic/OffloadArch.h#L19
|
||||
*/
|
||||
#include "util/macros.h"
|
||||
#include "util/ralloc.h"
|
||||
#include "util/set.h"
|
||||
#include "util/u_dl.h"
|
||||
#include "glsl_types.h"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue