summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Port getLocStart -> getBeginLocStephen Kelly2018-08-091-1/+1
| | | | | | | | | | Reviewers: javed.absar Subscribers: nemanjai, kbarton, ilya-biryukov, ioeric, jkorous, arphaman, jfb, cfe-commits Differential Revision: https://reviews.llvm.org/D50354 llvm-svn: 339400
* clang-tidy: add IgnoreMacros option to modernize-use-default-member-initMiklos Vajna2017-05-081-1/+1
| | | | | | | | | | | | | | | | | | | Summary: And also enable it by default to be consistent with e.g. modernize-use-using. This helps e.g. when running this check on cppunit client code where the macro is provided by the system, so there is no easy way to modify it. Reviewers: alexfh, malcolm.parsons Reviewed By: malcolm.parsons Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D32945 llvm-svn: 302429
* Fixes for modernize-use-using check:Krystyna Gajczyk2017-04-021-4/+18
| | | | | | | | | | | - removed unnessacary namespaces - added option to print warning in macros - no fix for typedef with array - removed "void" word from functions with 0 parameters Differential Revision: https://reviews.llvm.org/D29262 llvm-svn: 299340
* [clang-tidy] Remove debug logging.Alexander Kornienko2017-02-011-5/+0
| | | | llvm-svn: 293763
* [clang-tidy] Avoid incorrect fixes in modernize-use-usingAlexander Kornienko2017-01-241-21/+38
| | | | | | | Avoid fixes for typedefs with multiple types and for typedefs with struct definitions. Partially addresses http://llvm.org/PR28334 llvm-svn: 292918
* [clang-tidy] Fix crash in modernize-use-using (http://llvm.org/PR29135)Alexander Kornienko2017-01-171-33/+26
| | | | llvm-svn: 292229
* [clang-tidy] Fix readability-braces-around-statements false positiveMarek Kurdej2016-10-141-1/+2
| | | | | | | | | | | | | | | | | Summary: This fixes a false-positive e.g. when string literals are returned from if statement. This patch includes as well a small fix to includes and renames of the test suite that collided with the name of the check. Reviewers: alexfh, hokein Subscribers: hokein Tags: #clang-tools-extra Differential Revision: https://reviews.llvm.org/D25558 llvm-svn: 284212
* [clang-tidy] Add modernize-use-usingKrystyna Gajczyk2016-06-251-0/+93
http://reviews.llvm.org/D18919 llvm-svn: 273786
OpenPOWER on IntegriCloud