[clang-tools-extra] [clang-tidy] Only expand <inttypes.h> macros in modernize-use-std-format/print (PR #97911)
Julian Schmidt via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 26 11:40:27 PDT 2024
================
@@ -42,9 +42,9 @@ The check doesn't do a bad job, but it's not perfect. In particular:
- At the point that the check runs, the AST contains a single
``StringLiteral`` for the format string where escapes have been expanded.
- The check tries to put the escapes back, they may not be exactly as they
- were written (e.g. ``"\x41\x0a"`` will become ``"A\n"`` and ``"ab" "cd"``
- will become ``"abcd"``.)
+ The check tries to reconstruct escapes sequences, they may not be the
----------------
5chmidti wrote:
`escapes` -> `escape`
https://github.com/llvm/llvm-project/pull/97911
More information about the cfe-commits
mailing list