[PATCH] [clang-tidy] Support initializer_list in google-explicit-constructor check
Alexander Kornienko
alexfh at google.com
Wed Nov 26 17:10:53 PST 2014
Hi djasper,
According to the Google C++ Style Guide, constructors taking a single
std::initializer_list<> should not be marked explicit.
This change also changes the messages according to conventions used in Clang
diagnostics: no capitalization of the first letter, no trailing dot.
http://reviews.llvm.org/D6427
Files:
clang-tidy/google/ExplicitConstructorCheck.cpp
test/clang-tidy/deduplication.cpp
test/clang-tidy/diagnostic.cpp
test/clang-tidy/file-filter.cpp
test/clang-tidy/google-explicit-constructor.cpp
test/clang-tidy/line-filter.cpp
test/clang-tidy/macros.cpp
test/clang-tidy/nolint.cpp
test/clang-tidy/serialize-diagnostics.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6427.16666.patch
Type: text/x-patch
Size: 12289 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141127/41e95e31/attachment.bin>
More information about the cfe-commits
mailing list