[clang-tools-extra] [docs][clang-tidy] Correct StrictMode example in modernize-use-std-print (PR #108805)
Nicolas van Kempen via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 16 09:14:18 PDT 2024
https://github.com/nicovank commented:
I think the example should be:
```cpp
printf("%u %d\n", i, u); // Change here.
// transforms to:
std::println("{} {}", static_cast<unsigned int>(i), static_cast<int>(u)); // No change here.
```
https://github.com/llvm/llvm-project/pull/108805
More information about the cfe-commits
mailing list