aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Interpreter/CommandInterpreter.cpp
diff options
context:
space:
mode:
authorBogdan Serea <bogdan.serea@arm.com>2020-08-11 14:41:48 +0100
committerDavid Truby <david.truby@arm.com>2020-08-12 12:43:40 +0100
commit35bee3503f4c33d92434a314e49e3e6f4f7419bc (patch)
tree2bc06095772f1421887266927be3586d35ad5d3c /lldb/source/Interpreter/CommandInterpreter.cpp
parent9bd97d0363987b582e4a92b354b02e86ac068407 (diff)
downloadllvm-35bee3503f4c33d92434a314e49e3e6f4f7419bc.zip
llvm-35bee3503f4c33d92434a314e49e3e6f4f7419bc.tar.gz
llvm-35bee3503f4c33d92434a314e49e3e6f4f7419bc.tar.bz2
[clang-tidy] prevent generated checks from triggering assertions on anonymous functions
Skeleton checks generated by clang-tidy add_check.py cause assertions to fail when run over anonymous functions(lambda functions). This patch introduces an additional check to verify that the target function is not anonymous before calling getName(). The code snippet from the [[ https://clang.llvm.org/extra/clang-tidy/Contributing.html | clang-tidy tutorial ]]is also updated. Reviewed By: alexfh, DavidTruby Differential Revision: https://reviews.llvm.org/D85218
Diffstat (limited to 'lldb/source/Interpreter/CommandInterpreter.cpp')
0 files changed, 0 insertions, 0 deletions