summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/misc/UniqueptrResetRelease.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [clang-tidy] Refactor: Rename clang-tidy misc check files and classes to ↵Alexander Kornienko2015-03-091-73/+0
| | | | | | | | | | | | | follow naming conventions Classes are named WhateverCheck, files are named WhateverCheck.cpp and WhateverCheck.h. http://reviews.llvm.org/D8145 Patch by Richard Thomson! llvm-svn: 231648
* [clang-tidy] Fix diag message in clang-tidy misc-uniqueptr-reset-release if ↵Alexander Kornienko2015-03-051-3/+8
| | | | | | | | | | right side is rvalue http://reviews.llvm.org/D8071 Patch by Alexey Sokolov! llvm-svn: 231365
* [clang-tidy] Refactor: Move misc clang-tidy checks to namespace ↵Alexander Kornienko2015-03-021-0/+2
| | | | | | | | | | | | | clang::tidy::misc clang-tidy checks are organized into modules. This refactoring moves the misc module checks into the namespace clang::tidy::misc http://reviews.llvm.org/D7996 Patch by Richard Thomson! llvm-svn: 230950
* [clang-tidy] Add clang-tidy check for unique_ptr's reset+release -> moveAlexander Kornienko2014-12-051-0/+66
Replace x.reset(y.release()); with x = std::move(y); If y is rvalue, replace with x = y; instead. http://reviews.llvm.org/D6485 Patch by Alexey Sokolov! llvm-svn: 223460
OpenPOWER on IntegriCloud