[clang-tools-extra] [clang-tidy] Add modernize-use-from-range-container-constructor check (PR #180868)

Yanzuo Liu via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 11 06:13:53 PST 2026


================
@@ -0,0 +1,373 @@
+// RUN: %check_clang_tidy -std=c++23-or-later %s modernize-use-from-range-container-constructor %t
+
+#include <stddef.h>
----------------
zwuis wrote:

Do not `#include` headers out of test folder. You could refer to other tests to see how to handle it.

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


More information about the cfe-commits mailing list