[clang-tools-extra] [clang-tidy] Add performance-expensive-value-or check (PR #200166)

Daniil Dudkin via cfe-commits cfe-commits at lists.llvm.org
Sun May 31 04:03:49 PDT 2026


Endre =?utf-8?q?Fülöp?= <endre.fulop at sigmatechnology.com>,
Endre =?utf-8?q?Fülöp?= <endre.fulop at sigmatechnology.com>,
Endre =?utf-8?q?Fülöp?= <endre.fulop at sigmatechnology.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/200166 at github.com>


================
@@ -0,0 +1,110 @@
+// RUN: %check_clang_tidy -std=c++11-or-later %s performance-expensive-value-or %t
----------------
unterumarmung wrote:

We should add tests with a custom `SizeThreshold`

https://github.com/llvm/llvm-project/pull/200166


More information about the cfe-commits mailing list