aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOutliner.cpp
diff options
context:
space:
mode:
authorMike Crowe <mac@mcrowe.com>2024-06-03 15:22:24 +0100
committerGitHub <noreply@github.com>2024-06-03 16:22:24 +0200
commit0e62d5cf55479981da5e05e406bbca4afb3cdc4f (patch)
tree41ebd5e2a96ef712b70351caccd18714511a9e43 /llvm/lib/CodeGen/MachineOutliner.cpp
parent7bc7672925f8154be3b8220365d3f269ac43621c (diff)
downloadllvm-0e62d5cf55479981da5e05e406bbca4afb3cdc4f.zip
llvm-0e62d5cf55479981da5e05e406bbca4afb3cdc4f.tar.gz
llvm-0e62d5cf55479981da5e05e406bbca4afb3cdc4f.tar.bz2
[clang-tidy] Fix assert in modernize-use-std-format/print (#94104)
Ensure that FormatStringConverter's constructor fails with a sensible error message rather than asserting if the format string is not a narrow string literal. Also, ensure that we don't even get that far in modernize-use-std-print and modernize-use-std-format by checking that the format string parameter is a char pointer. Fixes #92896
Diffstat (limited to 'llvm/lib/CodeGen/MachineOutliner.cpp')
0 files changed, 0 insertions, 0 deletions