[clang-tools-extra] r313962 - [clang-tidy] Fix example in documentation, NFC

Krasimir Georgiev via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 21 21:37:57 PDT 2017


Author: krasimir
Date: Thu Sep 21 21:37:56 2017
New Revision: 313962

URL: http://llvm.org/viewvc/llvm-project?rev=313962&view=rev
Log:
[clang-tidy] Fix example in documentation, NFC

Summary: A fix in documentation.

Reviewers: bkramer

Reviewed By: bkramer

Subscribers: JDevlieghere, xazax.hun

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

Modified:
    clang-tools-extra/trunk/docs/clang-tidy/checks/modernize-replace-random-shuffle.rst

Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/modernize-replace-random-shuffle.rst
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/modernize-replace-random-shuffle.rst?rev=313962&r1=313961&r2=313962&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/clang-tidy/checks/modernize-replace-random-shuffle.rst (original)
+++ clang-tools-extra/trunk/docs/clang-tidy/checks/modernize-replace-random-shuffle.rst Thu Sep 21 21:37:56 2017
@@ -15,7 +15,7 @@ Below are two examples of what kind of o
   std::random_shuffle(vec.begin(), vec.end());
 
   // Second example
-  std::random_shuffle(vec.begin(), vec.end(), randomFun);
+  std::random_shuffle(vec.begin(), vec.end(), randomFunc);
 
 Both of these examples will be replaced with:
 




More information about the cfe-commits mailing list