summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/google/ExplicitConstructorCheck.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [clang-tidy] google-explicit-constructor: don't match in template instantiationsAlexander Kornienko2014-11-301-1/+2
| | | | | | | This helps avoiding false positives related to the recently added std::initializer_list<> handling. llvm-svn: 222981
* [clang-tidy] Support initializer_list in google-explicit-constructor checkAlexander Kornienko2014-11-271-6/+34
| | | | | | | | | | | | | | | | | | | Summary: 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. Reviewers: djasper Reviewed By: djasper Subscribers: curdeius, cfe-commits Differential Revision: http://reviews.llvm.org/D6427 llvm-svn: 222878
* Move google-explicit-constructor check to a separate source file.Alexander Kornienko2014-06-181-0/+85
Summary: No functional changes. Reviewers: djasper Reviewed By: djasper Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D4188 llvm-svn: 211154
OpenPOWER on IntegriCloud