mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
make clang-format happy again
This commit is contained in:
parent
ecaf607a8f
commit
fce4127c2e
|
|
@ -41,7 +41,7 @@ struct Thread {
|
||||||
kvector<SigInfo> queuedSignals;
|
kvector<SigInfo> queuedSignals;
|
||||||
shared_atomic32 suspendFlags{0};
|
shared_atomic32 suspendFlags{0};
|
||||||
|
|
||||||
utils::shared_atomic32 interruptedMtx{ 0 };
|
utils::shared_atomic32 interruptedMtx{0};
|
||||||
|
|
||||||
std::int64_t hostTid = -1;
|
std::int64_t hostTid = -1;
|
||||||
lwpid_t tid = -1;
|
lwpid_t tid = -1;
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,7 @@
|
||||||
#include "Block.hpp"
|
#include "Block.hpp"
|
||||||
|
|
||||||
namespace shader::ir {
|
namespace shader::ir {
|
||||||
template <typename ImplT>
|
template <typename ImplT> struct ConstructWrapper : BlockWrapper<ImplT> {
|
||||||
struct ConstructWrapper : BlockWrapper<ImplT> {
|
|
||||||
using BlockWrapper<ImplT>::BlockWrapper;
|
using BlockWrapper<ImplT>::BlockWrapper;
|
||||||
using BlockWrapper<ImplT>::operator=;
|
using BlockWrapper<ImplT>::operator=;
|
||||||
|
|
||||||
|
|
@ -14,9 +13,7 @@ struct ConstructWrapper : BlockWrapper<ImplT> {
|
||||||
.template staticCast<ir::Block>();
|
.template staticCast<ir::Block>();
|
||||||
}
|
}
|
||||||
|
|
||||||
void setHeader(ir::Block block) {
|
void setHeader(ir::Block block) { this->impl->replaceOperand(0, block); }
|
||||||
this->impl->replaceOperand(0, block);
|
|
||||||
}
|
|
||||||
|
|
||||||
ir::Block getMerge() {
|
ir::Block getMerge() {
|
||||||
return this->impl->getOperand(1)
|
return this->impl->getOperand(1)
|
||||||
|
|
@ -24,9 +21,7 @@ struct ConstructWrapper : BlockWrapper<ImplT> {
|
||||||
.template staticCast<ir::Block>();
|
.template staticCast<ir::Block>();
|
||||||
}
|
}
|
||||||
|
|
||||||
void setMerge(ir::Block block) {
|
void setMerge(ir::Block block) { this->impl->replaceOperand(1, block); }
|
||||||
this->impl->replaceOperand(1, block);
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ConstructImpl;
|
struct ConstructImpl;
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ struct RegionLikeImpl {
|
||||||
void addChild(Instruction node);
|
void addChild(Instruction node);
|
||||||
|
|
||||||
void printRegion(std::ostream &os, NameStorage &ns,
|
void printRegion(std::ostream &os, NameStorage &ns,
|
||||||
const PrintOptions &opts) const;
|
const PrintOptions &opts) const;
|
||||||
|
|
||||||
auto getParent() const;
|
auto getParent() const;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue