[llvm-branch-commits] [clang] [Clang] [C++26] Expansion Statements (Part 5: Iterating Expansion Statements) (PR #169684)
Corentin Jabot via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue May 5 03:21:37 PDT 2026
================
@@ -165,6 +165,11 @@ def err_ice_too_large : Error<
def err_expr_not_string_literal : Error<"expression is not a string literal">;
def note_constexpr_assert_failed : Note<
"assertion failed during evaluation of constant expression">;
+def err_expansion_size_expr_not_ice : Error<
+ "expansion statement size is not a constant expression">;
+
+def note_iterating_expansion_stmt_iterator_requires_minus : Note<
+ "while attempting to construct 'begin - begin' with iterator type %0">;
----------------
cor3ntin wrote:
I do not understand this note
https://github.com/llvm/llvm-project/pull/169684
More information about the llvm-branch-commits
mailing list