[clang-tools-extra] [clang-tidy][NFC] Remove stale comment in test (PR #162857)

via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 10 07:34:53 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang-tools-extra

@llvm/pr-subscribers-clang-tidy

Author: Victor Chernyakin (localspook)

<details>
<summary>Changes</summary>

Commit cb18647 removed the `| count 0` in this file but left behind this stale comment.

---
Full diff: https://github.com/llvm/llvm-project/pull/162857.diff


1 Files Affected:

- (modified) clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/pro-bounds-constant-array-index-c++03.cpp (-2) 


``````````diff
diff --git a/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/pro-bounds-constant-array-index-c++03.cpp b/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/pro-bounds-constant-array-index-c++03.cpp
index ad1cc5ab897d9..fe5b5b1514512 100644
--- a/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/pro-bounds-constant-array-index-c++03.cpp
+++ b/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/pro-bounds-constant-array-index-c++03.cpp
@@ -1,7 +1,5 @@
 // RUN: %check_clang_tidy -std=c++98-or-later %s cppcoreguidelines-pro-bounds-constant-array-index %t
 
-// Note: this test expects no diagnostics, but FileCheck cannot handle that,
-// hence the use of | count 0.
 template <int index> struct B {
   int get() {
     // The next line used to crash the check (in C++03 mode only).

``````````

</details>


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


More information about the cfe-commits mailing list