diff options
author | Alexander Kornienko <alexfh@google.com> | 2019-09-05 14:13:57 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2019-09-05 14:13:57 +0000 |
commit | b6d9703050d0d9ca903576767bc83df783362186 (patch) | |
tree | 547ad98156e269487ddb0db84de1662cf69c34d6 /lldb/packages/Python/lldbsuite/test/commands/gui/basic/TestGuiBasic.py | |
parent | 4e14bf71b70b6c1e356b571611d143d8facda86b (diff) | |
download | bcm5719-llvm-b6d9703050d0d9ca903576767bc83df783362186.tar.gz bcm5719-llvm-b6d9703050d0d9ca903576767bc83df783362186.zip |
[clang-tidy] Fix bugprone-argument-comment bug: negative literal number is not checked.
Summary:
For example:
```
void foo(int a);
foo(-2);
```
should be fixed as:
```
foo(/*a=*/-2);
```
This change tries to fix this issue.
Reviewers: alexfh, hokein, aaron.ballman
Reviewed By: alexfh, aaron.ballman
Subscribers: xazax.hun, cfe-commits
Tags: #clang, #clang-tools-extra
Patch by Yubo Xie.
Differential Revision: https://reviews.llvm.org/D67084
llvm-svn: 371072
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/commands/gui/basic/TestGuiBasic.py')
0 files changed, 0 insertions, 0 deletions