[clang] [LifetimeSafety] Add support for iterator arithmetic (PR #195442)
Utkarsh Saxena via cfe-commits
cfe-commits at lists.llvm.org
Mon May 4 00:58:32 PDT 2026
================
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -fsyntax-only -Wlifetime-safety -Wno-dangling -verify %s
+// RUN: %clang_cc1 -fsyntax-only -Wlifetime-safety -Wno-dangling -verify -DUSE_LIBSTDCPP_ITERATORS %s
----------------
usx95 wrote:
(Acknowledging that you have not modified tests. Mentioning only for completeness).
You can this extra run.
https://github.com/llvm/llvm-project/pull/195442
More information about the cfe-commits
mailing list