| Index: src/IceRNG.h
|
| diff --git a/src/IceRNG.h b/src/IceRNG.h
|
| index 83001ad2ee5b9a25bb081cf71ef6650a2d62c330..5ddd97f247fedfa551f01bf78cbb4b27e9635244 100644
|
| --- a/src/IceRNG.h
|
| +++ b/src/IceRNG.h
|
| @@ -6,9 +6,10 @@
|
| // License. See LICENSE.TXT for details.
|
| //
|
| //===----------------------------------------------------------------------===//
|
| -//
|
| -// This file declares a random number generator.
|
| -//
|
| +///
|
| +/// \file
|
| +/// This file declares a random number generator.
|
| +///
|
| //===----------------------------------------------------------------------===//
|
|
|
| #ifndef SUBZERO_SRC_ICERNG_H
|
| @@ -33,9 +34,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;
|
| @@ -52,9 +53,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)
|
|
|