chore: require clang-format 19 (#6236)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
namespace chatterino::filters {
|
||||
|
||||
ListExpression::ListExpression(ExpressionList &&list)
|
||||
: list_(std::move(list)){};
|
||||
: list_(std::move(list)) {};
|
||||
|
||||
QVariant ListExpression::execute(const ContextMap &context) const
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ RegexExpression::RegexExpression(const QString ®ex, bool caseInsensitive)
|
||||
, caseInsensitive_(caseInsensitive)
|
||||
, regex_(QRegularExpression(
|
||||
regex, caseInsensitive ? QRegularExpression::CaseInsensitiveOption
|
||||
: QRegularExpression::NoPatternOption)){};
|
||||
: QRegularExpression::NoPatternOption)) {};
|
||||
|
||||
QVariant RegexExpression::execute(const ContextMap & /*context*/) const
|
||||
{
|
||||
|
||||
@@ -19,7 +19,7 @@ public:
|
||||
|
||||
CancellationToken(const CancellationToken &) = default;
|
||||
CancellationToken(CancellationToken &&other) noexcept
|
||||
: isCancelled_(std::move(other.isCancelled_)){};
|
||||
: isCancelled_(std::move(other.isCancelled_)) {};
|
||||
|
||||
/// @brief This destructor doesn't cancel the token
|
||||
///
|
||||
@@ -64,7 +64,7 @@ public:
|
||||
|
||||
ScopedCancellationToken(const ScopedCancellationToken &) = delete;
|
||||
ScopedCancellationToken(ScopedCancellationToken &&other) noexcept
|
||||
: backingToken_(std::move(other.backingToken_)){};
|
||||
: backingToken_(std::move(other.backingToken_)) {};
|
||||
|
||||
~ScopedCancellationToken()
|
||||
{
|
||||
|
||||
@@ -81,7 +81,7 @@ public:
|
||||
};
|
||||
|
||||
IpcQueue::IpcQueue(IpcQueuePrivate *priv)
|
||||
: private_(priv){};
|
||||
: private_(priv) {};
|
||||
IpcQueue::~IpcQueue() = default;
|
||||
|
||||
std::pair<std::unique_ptr<IpcQueue>, QString> IpcQueue::tryReplaceOrCreate(
|
||||
|
||||
Reference in New Issue
Block a user