diff options
author | Alexander Kornienko <alexfh@google.com> | 2017-09-15 11:28:28 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2017-09-15 11:28:28 +0000 |
commit | 7b9f3e28cc3fff07fcf0469444076bd3cf65d33f (patch) | |
tree | c935b4eea7c6b6caf329e6703edd24008e0dd605 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | d6ce937f495cab544058616404148381f4e77fad (diff) | |
download | llvm-7b9f3e28cc3fff07fcf0469444076bd3cf65d33f.zip llvm-7b9f3e28cc3fff07fcf0469444076bd3cf65d33f.tar.gz llvm-7b9f3e28cc3fff07fcf0469444076bd3cf65d33f.tar.bz2 |
[clang-tidy] Fixed misc-unused-parameters omitting parameters square brackets
Summary:
Bug: https://bugs.llvm.org/show_bug.cgi?id=34449
**Problem:**
Clang-tidy check misc-unused-parameters comments out parameter name omitting following characters (e.g. square brackets) what results in its complete removal. Compilation errors might occur after clang-tidy fix as well.
**Patch description:**
Changed removal range. The range should end after parameter name, not after whole parameter declarator (which might be followed by e.g. square brackets).
Reviewers: alexfh
Reviewed By: alexfh
Subscribers: JDevlieghere, xazax.hun, cfe-commits
Tags: #clang-tools-extra
Patch by Pawel Maciocha!
Differential Revision: https://reviews.llvm.org/D37846
llvm-svn: 313355
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions