make clang-format happy again

This commit is contained in:
DH 2025-10-04 15:08:01 +03:00
parent ecaf607a8f
commit fce4127c2e
3 changed files with 5 additions and 10 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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;
}; };