Skip to content

Conversation

localspook
Copy link
Contributor

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

@llvmbot
Copy link
Member

llvmbot commented Oct 10, 2025

@llvm/pr-subscribers-clang-tools-extra

@llvm/pr-subscribers-clang-tidy

Author: Victor Chernyakin (localspook)

Changes

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 --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).

@localspook localspook merged commit b0b3320 into llvm:main Oct 10, 2025
13 checks passed
@localspook localspook deleted the stale-comment branch October 10, 2025 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants