[libcxx-commits] [clang] [libcxx] [Clang] Diagnose forming references to nullptr (PR #143667)
Aaron Ballman via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jul 10 06:09:04 PDT 2025
================
@@ -174,10 +174,11 @@ def note_constexpr_heap_alloc_limit_exceeded : Note<
def note_constexpr_this : Note<
"%select{|implicit }0use of 'this' pointer is only allowed within the "
"evaluation of a call to a 'constexpr' member function">;
-def access_kind : TextSubstitution<
- "%select{read of|read of|assignment to|increment of|decrement of|"
- "member call on|dynamic_cast of|typeid applied to|construction of|"
- "destruction of|read of}0">;
+def access_kind
+ : TextSubstitution<
+ "%select{read of|read of|assignment to|increment of|decrement of|"
+ "member call on|dynamic_cast of|typeid applied to|construction of|"
+ "destruction of|read of|read of}0">;
----------------
AaronBallman wrote:
Looks like we're still using `read of`, is that something you were thinking of changing @cor3ntin ?
https://github.com/llvm/llvm-project/pull/143667
More information about the libcxx-commits
mailing list