From 3eece12f67781c7c10e2961f1c5c81c166b07eba Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Mon, 14 Sep 2026 18:41:40 +0300 Subject: [PATCH] Added clang-tidy ban of qRound. --- .clang-tidy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.clang-tidy b/.clang-tidy index 5b69537997..5610bd1366 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -31,7 +31,8 @@ CheckOptions: ^::qCountLeadingZeroBits$,std::countl_zero,; ^::qCountTrailingZeroBits$,std::countr_zero,; ^::qCeil$,int(std::ceil(...)),; - ^::qFloor$,int(std::floor(...)), + ^::qFloor$,int(std::floor(...)),; + ^::qRound$,int(base::SafeRound(...)), # Header findings repeat per translation unit, and submodules are not ours. HeaderFilterRegex: ''