[Build] Use clang 20 for clang format consistently across Win/Lin
This commit is contained in:
2
.github/workflows/Linux_build.yml
vendored
2
.github/workflows/Linux_build.yml
vendored
@@ -53,7 +53,7 @@ jobs:
|
||||
- name: Setup
|
||||
id: setup
|
||||
env:
|
||||
LLVM_VERSION: 19 # Same as Windows
|
||||
LLVM_VERSION: 20
|
||||
run: |
|
||||
UBUNTU_BASE=$(lsb_release -cs)
|
||||
#echo "LLVM_VERSION=$LLVM_VERSION" >> "$GITHUB_OUTPUT"
|
||||
|
||||
@@ -255,7 +255,10 @@ void ParsedVertexFetchInstruction::Disassemble(StringBuffer* out) const {
|
||||
static const struct {
|
||||
const char* name;
|
||||
} kVertexFetchDataFormats[0xff] = {
|
||||
#define TYPE(id) {#id}
|
||||
#define TYPE(id) \
|
||||
{ \
|
||||
#id \
|
||||
}
|
||||
{0},
|
||||
{0},
|
||||
{0},
|
||||
|
||||
@@ -632,10 +632,11 @@ using xe::cpu::ExportTag;
|
||||
xe::kernel::shim::KernelModuleId::module_name, \
|
||||
ordinals::name>(&name##_entry))>>; \
|
||||
const auto EXPORT_##module_name##_##name = RegisterExport_##module_name( \
|
||||
_register_##module_name##_##name ::RegisterExport < &name##_entry, \
|
||||
tags | (static_cast<xe::cpu::ExportTag::type>( \
|
||||
xe::cpu::ExportCategory::category) \
|
||||
<< xe::cpu::ExportTag::CategoryShift) > (#name));
|
||||
_register_##module_name##_##name ::RegisterExport< \
|
||||
&name##_entry, tags | (static_cast<xe::cpu::ExportTag::type>( \
|
||||
xe::cpu::ExportCategory::category) \
|
||||
<< xe::cpu::ExportTag::CategoryShift)>( \
|
||||
#name));
|
||||
|
||||
#define DECLARE_EMPTY_REGISTER_EXPORTS(module_name, group_name) \
|
||||
void xe::kernel::module_name::Register##group_name##Exports( \
|
||||
|
||||
@@ -124,7 +124,7 @@ void HostExceptionReport::AddString(const char* s) {
|
||||
}
|
||||
|
||||
const char* HostExceptionReport::GetFormattedAddress(uintptr_t address) {
|
||||
char(¤t_buffer)[128] =
|
||||
char (¤t_buffer)[128] =
|
||||
formatted_addresses[address_format_ring_index++ % 16];
|
||||
|
||||
/* if (address >= g_xenia_exe_base &&
|
||||
|
||||
Reference in New Issue
Block a user