summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/docs/clang-tidy
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2017-11-27 13:06:28 +0000
committerAlexander Kornienko <alexfh@google.com>2017-11-27 13:06:28 +0000
commit6e39e68983045fe48fb955f24afe376b46eb3600 (patch)
tree96689a4d0c1d2385d6e9f4700744748713a0c860 /clang-tools-extra/docs/clang-tidy
parent2d4f1427267ddfae8fcab9d7764563b0d2b959cf (diff)
downloadbcm5719-llvm-6e39e68983045fe48fb955f24afe376b46eb3600.tar.gz
bcm5719-llvm-6e39e68983045fe48fb955f24afe376b46eb3600.zip
[clang-tidy] Move checks from misc- to performance-
Summary: rename_check.py misc-move-constructor-init performance-move-constructor-init rename_check.py misc-inefficient-algorithm performance-inefficient-algorithm Reviewers: hokein, aaron.ballman Reviewed By: hokein, aaron.ballman Subscribers: aaron.ballman, mgorny, xazax.hun, cfe-commits Differential Revision: https://reviews.llvm.org/D40487 llvm-svn: 319023
Diffstat (limited to 'clang-tools-extra/docs/clang-tidy')
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/cert-oop11-cpp.rst20
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/list.rst6
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/performance-inefficient-algorithm.rst (renamed from clang-tools-extra/docs/clang-tidy/checks/misc-inefficient-algorithm.rst)6
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/performance-move-constructor-init.rst (renamed from clang-tools-extra/docs/clang-tidy/checks/misc-move-constructor-init.rst)6
4 files changed, 19 insertions, 19 deletions
diff --git a/clang-tools-extra/docs/clang-tidy/checks/cert-oop11-cpp.rst b/clang-tools-extra/docs/clang-tidy/checks/cert-oop11-cpp.rst
index c824528c5f0..dcd0fee8b2d 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/cert-oop11-cpp.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/cert-oop11-cpp.rst
@@ -1,10 +1,10 @@
-.. title:: clang-tidy - cert-oop11-cpp
-.. meta::
- :http-equiv=refresh: 5;URL=misc-move-constructor-init.html
-
-cert-oop11-cpp
-==============
-
-The cert-oop11-cpp check is an alias, please see
-`misc-move-constructor-init <misc-move-constructor-init.html>`_ for more
-information.
+.. title:: clang-tidy - cert-oop11-cpp
+.. meta::
+ :http-equiv=refresh: 5;URL=performance-move-constructor-init.html
+
+cert-oop11-cpp
+==============
+
+The cert-oop11-cpp check is an alias, please see
+`performance-move-constructor-init <performance-move-constructor-init.html>`_
+for more information.
diff --git a/clang-tools-extra/docs/clang-tidy/checks/list.rst b/clang-tools-extra/docs/clang-tidy/checks/list.rst
index ab740b2b1ca..5c77352c792 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/list.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/list.rst
@@ -51,7 +51,7 @@ Clang-Tidy Checks
cert-flp30-c
cert-msc30-c (redirects to cert-msc50-cpp) <cert-msc30-c>
cert-msc50-cpp
- cert-oop11-cpp (redirects to misc-move-constructor-init) <cert-oop11-cpp>
+ cert-oop11-cpp (redirects to performance-move-constructor-init) <cert-oop11-cpp>
cppcoreguidelines-c-copy-assignment-signature (redirects to misc-unconventional-assign-operator) <cppcoreguidelines-c-copy-assignment-signature>
cppcoreguidelines-interfaces-global-init
cppcoreguidelines-no-malloc
@@ -119,14 +119,12 @@ Clang-Tidy Checks
misc-definitions-in-headers
misc-forwarding-reference-overload
misc-incorrect-roundings
- misc-inefficient-algorithm
misc-lambda-function-name
misc-macro-parentheses
misc-macro-repeated-side-effects
misc-misplaced-const
misc-misplaced-widening-cast
misc-move-const-arg
- misc-move-constructor-init
misc-new-delete-overloads
misc-noexcept-move-constructor
misc-non-copyable-objects
@@ -181,8 +179,10 @@ Clang-Tidy Checks
performance-faster-string-find
performance-for-range-copy
performance-implicit-conversion-in-loop
+ performance-inefficient-algorithm
performance-inefficient-string-concatenation
performance-inefficient-vector-operation
+ performance-move-constructor-init
performance-type-promotion-in-math-fn
performance-unnecessary-copy-initialization
performance-unnecessary-value-param
diff --git a/clang-tools-extra/docs/clang-tidy/checks/misc-inefficient-algorithm.rst b/clang-tools-extra/docs/clang-tidy/checks/performance-inefficient-algorithm.rst
index 00324876c6f..7002744936d 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/misc-inefficient-algorithm.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/performance-inefficient-algorithm.rst
@@ -1,7 +1,7 @@
-.. title:: clang-tidy - misc-inefficient-algorithm
+.. title:: clang-tidy - performance-inefficient-algorithm
-misc-inefficient-algorithm
-==========================
+performance-inefficient-algorithm
+=================================
Warns on inefficient use of STL algorithms on associative containers.
diff --git a/clang-tools-extra/docs/clang-tidy/checks/misc-move-constructor-init.rst b/clang-tools-extra/docs/clang-tidy/checks/performance-move-constructor-init.rst
index f56c592bc75..a193b9ee85a 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/misc-move-constructor-init.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/performance-move-constructor-init.rst
@@ -1,7 +1,7 @@
-.. title:: clang-tidy - misc-move-constructor-init
+.. title:: clang-tidy - performance-move-constructor-init
-misc-move-constructor-init
-==========================
+performance-move-constructor-init
+=================================
"cert-oop11-cpp" redirects here as an alias for this check.
OpenPOWER on IntegriCloud