summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/google/StringReferenceMemberCheck.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [clang-tidy] Remove google-runtime-member-string-referencesBenjamin Kramer2018-04-051-51/+0
| | | | | | | | | | This is triggering on a pattern that's both too broad (const std::string& members can be used safely) and too narrow (std::string is not the only class with this problem). It has a very low true positive rate, just remove it until we find a better solution for dangling string references. llvm-svn: 329292
* Adapt clang-tidy checks to changing semantics of hasDeclaration.Manuel Klimek2017-08-021-2/+2
| | | | | | Differential Revision: https://reviews.llvm.org/D36154 llvm-svn: 309810
* [clang-tools-extra] Format sources with clang-format. NFC.Mandeep Singh Grang2016-11-081-5/+5
| | | | | | | | | | | | | | | | Summary: Ran clang-format on all .c/.cpp/.h files in clang-tools-extra. Excluded the test, unittests, clang-reorder-fields, include-fixer, modularize and pptrace directories. Reviewers: klimek, alexfh Subscribers: nemanjai Tags: #clang-tools-extra Differential Revision: https://reviews.llvm.org/D26329 llvm-svn: 286221
* [clang-tidy] Use proper capitalization and punctuation for diagnostic messages.Alexander Kornienko2016-01-081-2/+2
| | | | | | Use diagnostic parameters where possible instead of string concatenation. llvm-svn: 257176
* Disable clang-tidy Google checkers when not compiling in C++ mode. None of ↵Aaron Ballman2015-09-021-0/+5
| | | | | | the checkers require additional testing as the tests will not compile for other languages or modes, or the checkers would never match a valid construct. llvm-svn: 246663
* [clang-tidy] Refactor: Move google clang-tidy checks to namespace ↵Alexander Kornienko2015-03-051-0/+2
| | | | | | | | | | clang::tidy::google http://reviews.llvm.org/D7994 Patch by Richard Thomson! llvm-svn: 231364
* [cleanup] Re-sort the #include lines with llvm/utils/sort_includes.pyChandler Carruth2015-01-141-1/+1
| | | | | | | No functionality changed, this is just a mechanical cleanup to keep the order of #include lines consistent across the project. llvm-svn: 225976
* [clang-tidy] Use new ASTMatchers to identify template instantiations instead ↵Benjamin Kramer2014-09-031-5/+1
| | | | | | | | of copying it everywhere. No intended functionality change. llvm-svn: 217035
* [clang-tidy] Add a checker that warns on const string & members.Benjamin Kramer2014-07-161-0/+48
Summary: Those are considered unsafe and should be replaced with simple pointers or full copies. It recognizes both std::string and ::string. Reviewers: alexfh, djasper Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D4522 llvm-svn: 213133
OpenPOWER on IntegriCloud