[clang-tools-extra] [clang-tidy][NFC] Remove stale comment in test (PR #162857)
Victor Chernyakin via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 10 07:34:08 PDT 2025
https://github.com/localspook created https://github.com/llvm/llvm-project/pull/162857
Commit cb18647 removed the `| count 0` in this file but left behind this stale comment.
>From 8edac4c83bd9384b6377f24d2c0e23c15e4f8a1f Mon Sep 17 00:00:00 2001
From: Victor Chernyakin <chernyakin.victor.j at outlook.com>
Date: Fri, 10 Oct 2025 07:30:54 -0700
Subject: [PATCH] [clang-tidy][NFC] Remove stale comment in test
---
.../cppcoreguidelines/pro-bounds-constant-array-index-c++03.cpp | 2 --
1 file changed, 2 deletions(-)
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