mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-27 15:11:01 +00:00
Switch to clang 20
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -141,7 +141,7 @@ jobs:
|
||||
runner: ubuntu-24.04
|
||||
- platform: Linux x86_64 Clang
|
||||
runner: ubuntu-24.04
|
||||
clang-version: 18
|
||||
clang-version: 20
|
||||
- platform: macOS arm64
|
||||
runner: macos-latest
|
||||
- platform: macOS x86_64
|
||||
|
||||
@@ -1,15 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef OS_WINDOWS
|
||||
#if defined(__GNUC__) || defined(__clang__)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wconversion"
|
||||
#pragma GCC diagnostic ignored "-Wtautological-compare"
|
||||
#endif
|
||||
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wunused-private-field"
|
||||
#endif
|
||||
|
||||
#include "reflect_extension.hpp"
|
||||
#include <reflect>
|
||||
|
||||
#ifndef OS_WINDOWS
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__) || defined(__clang__)
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user