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

via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 10 09:22:18 PDT 2025


Author: Victor Chernyakin
Date: 2025-10-10T09:22:13-07:00
New Revision: b0b3320821aefb01608efb977264115eec497a65

URL: https://github.com/llvm/llvm-project/commit/b0b3320821aefb01608efb977264115eec497a65
DIFF: https://github.com/llvm/llvm-project/commit/b0b3320821aefb01608efb977264115eec497a65.diff

LOG: [clang-tidy][NFC] Remove stale comment in test (#162857)

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

Added: 
    

Modified: 
    clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/pro-bounds-constant-array-index-c++03.cpp

Removed: 
    


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


        


More information about the cfe-commits mailing list