diff options
author | Sam McCall <sam.mccall@gmail.com> | 2018-11-16 08:32:23 +0000 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2018-11-16 08:32:23 +0000 |
commit | 98ae975187c75ad17a1fdc3e82a844e9ae3f5c84 (patch) | |
tree | 7dc086e5ff20ad98bdb706832aecbe576d256864 /lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py | |
parent | 9982e3b944b26db1e43af1b0a25848c1a3f416df (diff) | |
download | bcm5719-llvm-98ae975187c75ad17a1fdc3e82a844e9ae3f5c84.tar.gz bcm5719-llvm-98ae975187c75ad17a1fdc3e82a844e9ae3f5c84.zip |
[clangd] Initial clang-tidy diagnostics support.
Summary:
This runs checks over a restricted subset of the TU:
- preprocessor callbacks just receive the truncated PP events that
occur when a preamble is used.
- ASTMatchers run only over the top-level decls in the main-file
This patch just turns on one simple check (bugprone-sizeof-expression)
with no configuration. Configuration is complex enough to warrant a separate patch
This depends on a patch allowing traversal to be restricted to a scope.
Reviewers: hokein
Subscribers: srhines, mgorny, ilya-biryukov, ioeric, MaskRay, jkorous, arphaman, kadircet, cfe-commits
Differential Revision: https://reviews.llvm.org/D54204
llvm-svn: 347036
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py')
0 files changed, 0 insertions, 0 deletions