================ @@ -1302,7 +1302,8 @@ static void verifyDiagnosticWording(const Record &Diag) { // closing '}', skipping intermediary {} pairs. size_t BraceCount = 1; - auto Iter = FullDiagText.begin() + /*%select{*/ 8; + constexpr size_t PercentSelectBraceLen = sizeof("%select{") - 1; ---------------- erichkeane wrote:
Even better :) https://github.com/llvm/llvm-project/pull/93229 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits