Eugene.Zelenko added inline comments.
Comment at: docs/clang-tidy/checks/zircon-human-readable-status.rst:6
+
+Suggests fix for printf-family functions with a zx_status_t argument to convert
+status argument to a human-readable string (zx_status_t is a Zircon kernel
-
JonasToth added inline comments.
Comment at: clang-tidy/zircon/HumanReadableStatusCheck.cpp:68
+SourceRange FmtStringRange;
+for (const auto *Arg : D->arguments()) {
+ if (const auto *ICE = dyn_cast(Arg)) {
Did you consider using `forEachArgumentWith
juliehockett created this revision.
juliehockett added reviewers: aaron.ballman, hokein, ilya-biryukov.
juliehockett added a project: clang-tools-extra.
Herald added subscribers: xazax.hun, mgorny.
Adds a checker to the Fuchsia module to flag instances of attempting to log the
system's numerical