llvm-project/clang-tools-extra/clang-tidy
Martin Bohme e47a631d1c [clang-tidy] Recognize [[clang::reinitializes]] attribute in bugprone-use-after-move
Summary:
This allows member functions to be marked as reinitializing the object. After a
moved-from object has been reinitialized, the check will no longer consider it
to be in an indeterminate state.

The patch that adds the attribute itself is at https://reviews.llvm.org/D49911

Reviewers: ilya-biryukov, aaron.ballman, alexfh, hokein, rsmith

Reviewed By: aaron.ballman

Subscribers: dblaikie, xazax.hun, cfe-commits

Tags: #clang-tools-extra

Differential Revision: https://reviews.llvm.org/D49910

llvm-svn: 339571
2018-08-13 14:24:52 +00:00
..
abseil Port getLocStart -> getBeginLoc 2018-08-09 22:42:26 +00:00
android Port getLocEnd -> getEndLoc 2018-08-09 22:43:02 +00:00
boost Port getLocStart -> getBeginLoc 2018-08-09 22:42:26 +00:00
bugprone [clang-tidy] Recognize [[clang::reinitializes]] attribute in bugprone-use-after-move 2018-08-13 14:24:52 +00:00
cert Port getLocStart -> getBeginLoc 2018-08-09 22:42:26 +00:00
cppcoreguidelines Adding the readability module to the list of dependencies for the C++ Core Guidelines module. Amends r339516 for a failing bot. 2018-08-12 14:47:16 +00:00
fuchsia Port getLocEnd -> getEndLoc 2018-08-09 22:43:02 +00:00
google Port getLocEnd -> getEndLoc 2018-08-09 22:43:02 +00:00
hicpp Port getLocStart -> getBeginLoc 2018-08-09 22:42:26 +00:00
llvm Port getLocEnd -> getEndLoc 2018-08-09 22:43:02 +00:00
misc Port getLocEnd -> getEndLoc 2018-08-09 22:43:02 +00:00
modernize [clang-tidy: modernize] modernize-redundant-void-arg crashes when a function body is in a macro 2018-08-10 13:59:33 +00:00
mpi modernize-use-auto NFC fixes 2016-12-14 15:29:23 +00:00
objc Port getLocStart -> getBeginLoc 2018-08-09 22:42:26 +00:00
performance [clang-tidy] Omit cases where loop variable is not used in loop body in 2018-08-10 08:25:51 +00:00
plugin [clang-tidy] add all clang-tidy modules to plugin 2018-07-31 15:23:49 +00:00
portability [clang-tidy] Add "portability" module and rename readability-simd-intrinsics to portability-simd-intrinsics 2018-03-07 16:57:42 +00:00
readability Add a new check to the readability module that flags uses of "magic numbers" (both floating-point and integral). 2018-08-12 14:35:13 +00:00
tool [clang-tidy] run-clang-tidy.py - add synchronisation to the output 2018-08-10 11:50:47 +00:00
utils Port getLocStart -> getBeginLoc 2018-08-09 22:42:26 +00:00
zircon [clang-tidy] Add Zircon module to clang-tidy 2018-03-14 23:47:50 +00:00
CMakeLists.txt [clang-tidy] Profile is a per-AST (per-TU) data. 2018-05-08 13:14:21 +00:00
ClangTidy.cpp [clang-tidy] Store checks profiling info as JSON files 2018-06-06 15:07:51 +00:00
ClangTidy.h [clang-tidy] Store checks profiling info as JSON files 2018-06-06 15:07:51 +00:00
ClangTidyDiagnosticConsumer.cpp [clang-tidy] Store checks profiling info as JSON files 2018-06-06 15:07:51 +00:00
ClangTidyDiagnosticConsumer.h [clang-tidy] Store checks profiling info as JSON files 2018-06-06 15:07:51 +00:00
ClangTidyModule.cpp Change getChecksFilter() interface to hide implementation details. 2017-05-17 14:39:47 +00:00
ClangTidyModule.h [clang-tools-extra] Format sources with clang-format. NFC. 2016-11-08 07:50:19 +00:00
ClangTidyModuleRegistry.h Reapply r276973 "Adjust Registry interface to not require plugins to export a registry" 2016-08-05 11:01:08 +00:00
ClangTidyOptions.cpp [clang-tools-extra] Update uses of DEBUG macro to LLVM_DEBUG. 2018-05-15 16:37:45 +00:00
ClangTidyOptions.h [clang-tidy] Remove AnalyzeTemporaryDtors option. 2018-05-03 14:40:37 +00:00
ClangTidyProfiling.cpp [clang-tidy] Store checks profiling info as JSON files 2018-06-06 15:07:51 +00:00
ClangTidyProfiling.h [clang-tidy] Store checks profiling info as JSON files 2018-06-06 15:07:51 +00:00
add_new_check.py Add a trailing period in release notes. 2018-05-03 15:59:39 +00:00
rename_check.py [clang-tidy] Use :doc: for check links in Release Notes. 2018-03-21 17:06:13 +00:00