aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectMemory.cpp
diff options
context:
space:
mode:
authorJonas Toth <development@jonas-toth.eu>2022-07-24 19:35:52 +0200
committerJonas Toth <development@jonas-toth.eu>2022-07-24 19:37:54 +0200
commit46ae26e7eb7095faeda6d6c15470c256f9294c48 (patch)
tree7d0a86edccacb599990472a28537839ad66b520b /lldb/source/Commands/CommandObjectMemory.cpp
parent8f24a56a3a9363f353c8da318d97491a6818781d (diff)
downloadllvm-46ae26e7eb7095faeda6d6c15470c256f9294c48.zip
llvm-46ae26e7eb7095faeda6d6c15470c256f9294c48.tar.gz
llvm-46ae26e7eb7095faeda6d6c15470c256f9294c48.tar.bz2
[clang-tidy] implement new check 'misc-const-correctness' to add 'const' to unmodified variables
This patch connects the check for const-correctness with the new general utility to add `const` to variables. The code-transformation is only done, if the detected variable for const-ness is not part of a group-declaration. The check allows to control multiple facets of adding `const`, e.g. if pointers themself should be marked as `const` if they are not changed. Reviewed By: njames93 Differential Revision: https://reviews.llvm.org/D54943
Diffstat (limited to 'lldb/source/Commands/CommandObjectMemory.cpp')
0 files changed, 0 insertions, 0 deletions