aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorZiqing Luo <ziqing@udel.edu>2023-08-17 15:25:15 -0700
committerZiqing Luo <ziqing@udel.edu>2023-08-17 15:27:38 -0700
commit41279e870fa577f8a7f7030b8e45da250d0def9e (patch)
treedfaa5d39154f3a7f144591d9f972d270ee32225d /llvm/tools/llvm-objdump/llvm-objdump.cpp
parentb20a385422d8714257cda7fba7b52ac09fb30b2d (diff)
downloadllvm-41279e870fa577f8a7f7030b8e45da250d0def9e.zip
llvm-41279e870fa577f8a7f7030b8e45da250d0def9e.tar.gz
llvm-41279e870fa577f8a7f7030b8e45da250d0def9e.tar.bz2
[-Wunsafe-buffer-usage] Refactor and improve for parameter fix-its
- Factor out the code that will be shared by both parameter and local variable fix-its - Add a check to ensure that a TypeLoc::isNull is false before using the TypeLoc - Remove the special check for whether a fixing variable involves unnamed types. This check is unnecessary now. - Move tests for cv-qualified parameters and unnamed types out of the "...-unsupported.cpp" test file. Reviewed by: NoQ (Artem Dergachev) Differential revision: https://reviews.llvm.org/D156188
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions