Merge pull request #97483 from akien-mga/clang-format-19.1.0

CI: Update `clang-format` pre-commit hook to 19.1.0
This commit is contained in:
Rémi Verschelde 2024-09-26 12:46:04 +02:00
commit a4c1804cab
No known key found for this signature in database
GPG key ID: C3336907360768E1
14 changed files with 17 additions and 17 deletions

View file

@ -45,7 +45,7 @@ Error AudioDriverDummy::init() {
}
channels = get_channels();
samples_in = memnew_arr(int32_t, (size_t)buffer_frames * channels);
samples_in = memnew_arr(int32_t, size_t(buffer_frames) * channels);
if (use_threads) {
thread.start(AudioDriverDummy::thread_func, this);

View file

@ -800,7 +800,7 @@ private:
#ifndef DISABLE_DEPRECATED
public:
enum BarrierMask{
enum BarrierMask {
BARRIER_MASK_VERTEX = 1,
BARRIER_MASK_FRAGMENT = 8,
BARRIER_MASK_COMPUTE = 2,

View file

@ -1740,7 +1740,7 @@ public:
#ifndef DISABLE_DEPRECATED
// Never actually used, should be removed when we can break compatibility.
enum Features{
enum Features {
FEATURE_SHADERS,
FEATURE_MULTITHREADED,
};