diff options
| author | v1nh1shungry <v1nh1shungry@outlook.com> | 2023-01-12 23:40:05 +0000 |
|---|---|---|
| committer | Christopher Di Bella <cjdb@google.com> | 2023-01-13 01:14:51 +0000 |
| commit | 7910ee7d8c6dcb679200ba171fba5d8d5f237007 (patch) | |
| tree | 8d7d0928496333ae74abe510ed49ab5541eebe5e /lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py | |
| parent | d4cf89ad5a374f9f81446f12da2386c96b80d3dc (diff) | |
[clang-tidy] don't warn when returning the result for bugprone-standalone-empty
Relevant issue: https://github.com/llvm/llvm-project/issues/59517
Currently this check will warn when the result is used in a `return`
statement, e.g.
```
bool foobar() {
std::vector<int> v;
return v.empty();
// will get a warning here, which makes no sense IMO
}
```
Reviewed By: cjdb, denik
Differential Revision: https://reviews.llvm.org/D141107
Diffstat (limited to 'lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions
