Author: MarcoFalke
Date: 2023-01-25T15:39:41+01:00
New Revision: 007b35369501b244c8736d2c75b942d1d91d5d18

URL: 
https://github.com/llvm/llvm-project/commit/007b35369501b244c8736d2c75b942d1d91d5d18
DIFF: 
https://github.com/llvm/llvm-project/commit/007b35369501b244c8736d2c75b942d1d91d5d18.diff

LOG: doc: Fix typo in clang-tidy no-automatic-move doc

The latter version is called NotCool in the source code and on godbolt.

Added: 
    

Modified: 
    clang-tools-extra/docs/clang-tidy/checks/performance/no-automatic-move.rst

Removed: 
    


################################################################################
diff  --git 
a/clang-tools-extra/docs/clang-tidy/checks/performance/no-automatic-move.rst 
b/clang-tools-extra/docs/clang-tidy/checks/performance/no-automatic-move.rst
index 7064e0298b9bb..5572bb176d2cc 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/performance/no-automatic-move.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/performance/no-automatic-move.rst
@@ -25,7 +25,7 @@ Example `[1] <https://godbolt.org/z/x7SYYA>`_:
     return obj;  // calls `StatusOr::StatusOr(const std::vector<int>&)`
   }
 
-The former version (``Cool``) should be preferred over the latter (``Uncool``)
+The former version (``Cool``) should be preferred over the latter (``NotCool``)
 as it will avoid allocations and potentially large memory copies.
 
 Semantics


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to