You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thread llvm::raw_ostream through _AppendRuns; remove [[gnu::always_inline]]
- Remove [[gnu::always_inline]] from all _AppendRuns overloads and _ExtendBuf.
Compile-time evaluation is now guaranteed by the template structure itself:
BufSize and N are non-type template parameters deduced at each instantiation,
and _ExtendBuf is constexpr, so the buffer construction is fully resolved
by the template machinery.
- Thread llvm::raw_ostream& dbg through every _AppendRuns overload. The
debug stream now receives exactly the same data at exactly the same points
as rs_code_, so the log line reflects what is actually appended rather than
printing each raw argument piecemeal (one line per arg with a '\n').
- Each merged literal run is written to both rs_code_ and dbg in one shot
(when the buffer is flushed). Each non-literal token is appended/printed
as "val ' '" in both outputs. A single '\n' is written by _StrCat after
the entire call chain completes.
- Remove piecemeal ((errs() << vals << '\n'), ...) fold-expression from
_StrCat; the debug output now comes exclusively from _AppendRuns.
Agent-Logs-Url: https://github.com/Cpp2Rust/cpp2rust/sessions/9835d76c-3b8f-4869-ad66-5a66f6849cb4
Co-authored-by: nunoplopes <2998477+nunoplopes@users.noreply.github.com>
0 commit comments