diff options
| author | Etienne Bergeron <etienneb@google.com> | 2016-04-07 14:18:53 +0000 |
|---|---|---|
| committer | Etienne Bergeron <etienneb@google.com> | 2016-04-07 14:18:53 +0000 |
| commit | f6660dab0251b86bd0c5412bfd6858bfcd908104 (patch) | |
| tree | 7e26bfec91e7e8748f81a5639bcd88a30e861966 /libcxx/test/std/containers/NotConstructible.h | |
| parent | e23b6deb01e0e68734814ad48ab6de4980a8cd6b (diff) | |
| download | bcm5719-llvm-f6660dab0251b86bd0c5412bfd6858bfcd908104.tar.gz bcm5719-llvm-f6660dab0251b86bd0c5412bfd6858bfcd908104.zip | |
[clang-tidy] Fix FP with readability-redundant-string-init for default arguments
Summary:
Clang-tidy is reporting a warning of redundant string initialisation
on a string parameter initialized with empty string.
See bug: 27087
The reported example is:
```
#include <string>
void fn(std::string a = "");
```
Reviewers: alexfh
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D18829
llvm-svn: 265671
Diffstat (limited to 'libcxx/test/std/containers/NotConstructible.h')
0 files changed, 0 insertions, 0 deletions

