[clang-tools-extra] [clang-tidy] Fix false positive for cppcoreguidelines-pro-bounds-pointer-arithmetic (PR #127394)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Sun Jun 29 13:22:39 PDT 2025
================
@@ -0,0 +1,19 @@
+// RUN: %check_clang_tidy %s cppcoreguidelines-pro-bounds-pointer-arithmetic %t
----------------
vbvictor wrote:
I think it's better to write this test in the existing main test file than to create new test files for specific issues. After N months/years, it will probably become meaningless for readers.
https://github.com/llvm/llvm-project/pull/127394
More information about the cfe-commits
mailing list