~/talk

Talk Preview: Building on clang-tidy: move from printf-style to std::print-style logging

Talkat C++ on Sea 2024 · 2024-07-02..07-05· [compilers-and-language-design]
links:none on file
slides:none on file

Old C codebase logging gets automated modernisation using a clang-tidy check that converts non-macro printf-style calls first to fmt::printf to fmt::print to std::print and then to more standard logging APIs, avoiding fragile search-and-replace. Implementation reuses and extends Clang 17’s modernize-use-std-print logic, handles format-string vs. argument mismatches, and runs as an automated fix; the custom check successfully modernises diagnostic logging and paves the way for spdlog.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.