diff options
author | Alexander Kornienko <alexfh@google.com> | 2017-05-22 13:58:57 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2017-05-22 13:58:57 +0000 |
commit | 1e034c3f228122beb2bf7b32ba4bba667068760d (patch) | |
tree | 6460086d6d6ba7dbd3c1cea2c880d0330c695127 /lldb/source/Core/IOHandler.cpp | |
parent | a0ddf5fc1c16e89ee1b382a0597050182f9f5a99 (diff) | |
download | bcm5719-llvm-1e034c3f228122beb2bf7b32ba4bba667068760d.tar.gz bcm5719-llvm-1e034c3f228122beb2bf7b32ba4bba667068760d.zip |
[clang-tidy] readability-redundant-declaration false positive for defaulted function
Summary:
```
template <class T>
struct C {
C();
};
template <class T>
C<T>::C() = default;
```
Causes a readability-redundant-declaration diagnostic. This is caused by `isDefinition` not matching defaulted functions.
Reviewers: alexfh, danielmarjamaki
Reviewed By: alexfh
Subscribers: xazax.hun, cfe-commits
Patch by Florian Gross!
Differential Revision: https://reviews.llvm.org/D33358
llvm-svn: 303552
Diffstat (limited to 'lldb/source/Core/IOHandler.cpp')
0 files changed, 0 insertions, 0 deletions