[PATCH] D28768: [clang-tidy] Add check 'modernize-return-braced-init-list'
Malcolm Parsons via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 16 04:44:56 PST 2017
malcolm.parsons added a comment.
In https://reviews.llvm.org/D28768#647204, @JDevlieghere wrote:
> I wanted to do that but it seems that the test script hard codes it to C++11, and the `auto` return type is a C++14 feature. Maybe I'm mistaken though, but I didn't manage to get it working, even when appending `-- -std=c++14` to the RUN command. Am I missing something?
You need one `--` for check_clang_tidy and one for clang-tidy:
`-- -- -std=c++14`
Repository:
rL LLVM
https://reviews.llvm.org/D28768
More information about the cfe-commits
mailing list