[clang-tools-extra] [clang-tidy] Teach `modernize-type-traits` about more type traits (PR #147074)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 4 11:11:46 PDT 2025


================
@@ -130,6 +149,12 @@ static const llvm::StringSet<> TypeTraits = {
     "result_of",
     "invoke_result",
     "type_identity",
+    "tuple_element",
----------------
vbvictor wrote:

I'd also suggest adding "Limitation" section in check docs. Search in docs directory for reference. That would be helpful.

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


More information about the cfe-commits mailing list