diff options
author | Jonas Toth <jonas.toth@gmail.com> | 2018-08-30 08:44:27 +0000 |
---|---|---|
committer | Jonas Toth <jonas.toth@gmail.com> | 2018-08-30 08:44:27 +0000 |
commit | 5c0f66b1feaf995dcd51ac4ef260f1f58a52ea9b (patch) | |
tree | f864c68a84d798259f1235c486689c59eda2e409 /lldb/packages/Python/lldbsuite/test/functionalities/command_script/main.cpp | |
parent | cd5bc7be0849a2b3a2452c587613a89301c2e20a (diff) | |
download | bcm5719-llvm-5c0f66b1feaf995dcd51ac4ef260f1f58a52ea9b.tar.gz bcm5719-llvm-5c0f66b1feaf995dcd51ac4ef260f1f58a52ea9b.zip |
[clang-tidy] fix check_clang_tidy to forbid mixing of CHECK-NOTES and CHECK-MESSAGES
Summary:
The check_clang_tidy.py script would allow mixing of `CHECK-NOTES` and `CHECK-MESSAGES` but running `FileCheck` for that would implicitly fail, because `CHECK-NOTES` bails out if there is a warning.
That means a clang-tidy test can not mix these constructs to check warnings with `CHECK-MESSAGES` and notes with `CHECK-NOTES`. The script gives now a clear error if that happens.
Reviewers: alexfh, aaron.ballman, lebedev.ri, hokein
Reviewed By: lebedev.ri
Subscribers: xazax.hun, cfe-commits
Differential Revision: https://reviews.llvm.org/D51381
llvm-svn: 341039
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/command_script/main.cpp')
0 files changed, 0 insertions, 0 deletions