mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Run clang-format
This commit is contained in:
parent
d999edfd2c
commit
1f05a8a6a6
125 changed files with 10664 additions and 7154 deletions
|
|
@ -7,9 +7,7 @@ class Verify {
|
|||
util::SourceLocation mLocation;
|
||||
|
||||
public:
|
||||
util::SourceLocation location() const {
|
||||
return mLocation;
|
||||
}
|
||||
util::SourceLocation location() const { return mLocation; }
|
||||
|
||||
Verify(util::SourceLocation location = util::SourceLocation())
|
||||
: mLocation(location) {}
|
||||
|
|
|
|||
|
|
@ -12,4 +12,3 @@ inline Verify operator<<(Verify lhs, VkResult result) {
|
|||
|
||||
return lhs;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,14 @@
|
|||
#pragma once
|
||||
|
||||
#include "SourceLocation.hpp"
|
||||
#include <cstdio>
|
||||
#include <cstdarg>
|
||||
#include <cstdio>
|
||||
|
||||
namespace util {
|
||||
[[noreturn]] inline void unreachable_impl() { std::fflush(stdout); __builtin_trap(); }
|
||||
[[noreturn]] inline void unreachable_impl() {
|
||||
std::fflush(stdout);
|
||||
__builtin_trap();
|
||||
}
|
||||
|
||||
[[noreturn]] inline void unreachable(SourceLocation location = {}) {
|
||||
std::printf("\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue