Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: src/IceRNG.h

Issue 1341423002: Reflow comments to use the full width. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix spelling and rebase Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/IcePhiLoweringImpl.h ('k') | src/IceRNG.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceRNG.h
diff --git a/src/IceRNG.h b/src/IceRNG.h
index 4eeefa6c25243f291a5c83538012981df8607973..7ee2e39bdc8f38c71cb6597214cfdbd1c0a4e3b8 100644
--- a/src/IceRNG.h
+++ b/src/IceRNG.h
@@ -52,9 +52,9 @@ private:
uint64_t State;
};
-/// This class adds additional random number generator utilities. The
-/// reason for the wrapper class is that we want to keep the
-/// RandomNumberGenerator interface identical to LLVM's.
+/// This class adds additional random number generator utilities. The reason for
+/// the wrapper class is that we want to keep the RandomNumberGenerator
+/// interface identical to LLVM's.
class RandomNumberGeneratorWrapper {
RandomNumberGeneratorWrapper() = delete;
RandomNumberGeneratorWrapper(const RandomNumberGeneratorWrapper &) = delete;
@@ -71,9 +71,9 @@ private:
RandomNumberGenerator &RNG;
};
-/// RandomShuffle is an implementation of std::random_shuffle() that
-/// doesn't change across stdlib implementations. Adapted from a
-/// sample implementation at cppreference.com.
+/// RandomShuffle is an implementation of std::random_shuffle() that doesn't
+/// change across stdlib implementations. Adapted from a sample implementation
+/// at cppreference.com.
template <class RandomIt, class RandomFunc>
void RandomShuffle(RandomIt First, RandomIt Last, RandomFunc &&RNG) {
for (auto i = Last - First - 1; i > 0; --i)
« no previous file with comments | « src/IcePhiLoweringImpl.h ('k') | src/IceRNG.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698