summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrasimir Georgiev <krasimir@google.com>2017-09-22 04:37:56 +0000
committerKrasimir Georgiev <krasimir@google.com>2017-09-22 04:37:56 +0000
commitee0dafe3be3ea0579ed9a5485eaaea07267c393a (patch)
treed97e78e83ef491b4f77cd551c1302a22e5138d88
parentd2e0d1fa11ab51da2e859eea6eba594eb44e5542 (diff)
downloadbcm5719-llvm-ee0dafe3be3ea0579ed9a5485eaaea07267c393a.tar.gz
bcm5719-llvm-ee0dafe3be3ea0579ed9a5485eaaea07267c393a.zip
[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 llvm-svn: 313962
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/modernize-replace-random-shuffle.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/docs/clang-tidy/checks/modernize-replace-random-shuffle.rst b/clang-tools-extra/docs/clang-tidy/checks/modernize-replace-random-shuffle.rst
index b0c2cd5ef40..353f35a8649 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/modernize-replace-random-shuffle.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/modernize-replace-random-shuffle.rst
@@ -15,7 +15,7 @@ Below are two examples of what kind of occurrences will be found and two example
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:
OpenPOWER on IntegriCloud