chore: require clang-format 19 (#6236)

This commit is contained in:
nerix
2025-05-25 15:46:28 +02:00
committed by GitHub
parent 8acca1c241
commit 85ae913413
6 changed files with 7 additions and 6 deletions
@@ -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 &regex, bool caseInsensitive)
, caseInsensitive_(caseInsensitive)
, regex_(QRegularExpression(
regex, caseInsensitive ? QRegularExpression::CaseInsensitiveOption
: QRegularExpression::NoPatternOption)){};
: QRegularExpression::NoPatternOption)) {};
QVariant RegexExpression::execute(const ContextMap & /*context*/) const
{
+2 -2
View File
@@ -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()
{
+1 -1
View File
@@ -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(