[PR #82] [MERGED] code: Add clang-format target and CI workflow #1274

Closed
opened 2026-02-27 21:11:53 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/82
Author: @raphaelthegreat
Created: 2/23/2024
Status: Merged
Merged: 2/23/2024
Merged by: @raphaelthegreat

Base: mainHead: format


📝 Commits (2)

  • b61e7d0 code: Add clang format target, rules and CI workflow
  • e3b2e2b code: Run clang format on sources

📊 Changes

90 files changed (+2943 additions, -1942 deletions)

View changed files

.ci/clang-format.sh (+37 -0)
.github/workflows/format.yml (+21 -0)
📝 CMakeLists.txt (+51 -0)
src/.clang-format (+256 -0)
📝 src/Emulator/Host/controller.cpp (+4 -3)
📝 src/Emulator/Host/controller.h (+5 -6)
📝 src/GUI/ElfViewer.cpp (+39 -40)
📝 src/Util/config.cpp (+16 -7)
📝 src/Util/config.h (+1 -1)
📝 src/common/disassembler.cpp (+15 -14)
📝 src/common/disassembler.h (+3 -3)
📝 src/common/discord.cpp (+20 -20)
📝 src/common/discord.h (+11 -11)
📝 src/common/fs_file.cpp (+8 -8)
📝 src/common/fs_file.h (+20 -24)
📝 src/common/io_file.cpp (+3 -3)
📝 src/common/io_file.h (+2 -1)
📝 src/common/log.cpp (+62 -54)
📝 src/common/log.h (+18 -12)
📝 src/common/native_clock.cpp (+4 -4)

...and 70 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/82 **Author:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Created:** 2/23/2024 **Status:** ✅ Merged **Merged:** 2/23/2024 **Merged by:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Base:** `main` ← **Head:** `format` --- ### 📝 Commits (2) - [`b61e7d0`](https://github.com/shadps4-emu/shadPS4/commit/b61e7d0371e6a951ebc50487ca663f542e2e2c1d) code: Add clang format target, rules and CI workflow - [`e3b2e2b`](https://github.com/shadps4-emu/shadPS4/commit/e3b2e2bc40d79d08095186cd489f64078163632d) code: Run clang format on sources ### 📊 Changes **90 files changed** (+2943 additions, -1942 deletions) <details> <summary>View changed files</summary> ➕ `.ci/clang-format.sh` (+37 -0) ➕ `.github/workflows/format.yml` (+21 -0) 📝 `CMakeLists.txt` (+51 -0) ➕ `src/.clang-format` (+256 -0) 📝 `src/Emulator/Host/controller.cpp` (+4 -3) 📝 `src/Emulator/Host/controller.h` (+5 -6) 📝 `src/GUI/ElfViewer.cpp` (+39 -40) 📝 `src/Util/config.cpp` (+16 -7) 📝 `src/Util/config.h` (+1 -1) 📝 `src/common/disassembler.cpp` (+15 -14) 📝 `src/common/disassembler.h` (+3 -3) 📝 `src/common/discord.cpp` (+20 -20) 📝 `src/common/discord.h` (+11 -11) 📝 `src/common/fs_file.cpp` (+8 -8) 📝 `src/common/fs_file.h` (+20 -24) 📝 `src/common/io_file.cpp` (+3 -3) 📝 `src/common/io_file.h` (+2 -1) 📝 `src/common/log.cpp` (+62 -54) 📝 `src/common/log.h` (+18 -12) 📝 `src/common/native_clock.cpp` (+4 -4) _...and 70 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:11:53 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#1274
No description provided.