diff options
author | Alexander Kornienko <alexfh@google.com> | 2017-09-13 14:55:13 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2017-09-13 14:55:13 +0000 |
commit | e5590927d6daa2c025c587a6db598d1aed429f1e (patch) | |
tree | 1a89bb4888d87029641a2c7580f2507144a438e2 /clang/test | |
parent | 50e068158b1de0c1230a05514b7ab816aad33f15 (diff) | |
download | bcm5719-llvm-e5590927d6daa2c025c587a6db598d1aed429f1e.tar.gz bcm5719-llvm-e5590927d6daa2c025c587a6db598d1aed429f1e.zip |
[clang-tidy] fixed misc-unused-parameters omitting parameters default value
Summary:
Bug: https://bugs.llvm.org/show_bug.cgi?id=34450
**Problem:**
Clang-tidy check misc-unused-parameters omits parameter default value what results in its complete removal. Compilation errors might occur after clang-tidy fix.
**Patch description:**
Changed removal range. The range should end after parameter declarator, not after whole parameter declaration (which might contain a default value).
Reviewers: alexfh, xazax.hun
Reviewed By: alexfh
Subscribers: JDevlieghere, cfe-commits
Tags: #clang-tools-extra
Patch by Pawel Maciocha!
Differential Revision: https://reviews.llvm.org/D37566
llvm-svn: 313150
Diffstat (limited to 'clang/test')
0 files changed, 0 insertions, 0 deletions