| Index: src/IceRNG.h
|
| diff --git a/src/IceRNG.h b/src/IceRNG.h
|
| index 83001ad2ee5b9a25bb081cf71ef6650a2d62c330..ebc2c4725b9495b7a300062c241d682ce1bac10b 100644
|
| --- a/src/IceRNG.h
|
| +++ b/src/IceRNG.h
|
| @@ -14,8 +14,13 @@
|
| #ifndef SUBZERO_SRC_ICERNG_H
|
| #define SUBZERO_SRC_ICERNG_H
|
|
|
| +#pragma clang diagnostic push
|
| +#pragma clang diagnostic ignored "-Wunused-parameter"
|
| +#pragma clang diagnostic ignored "-Wshadow"
|
| #include "llvm/ADT/StringRef.h"
|
| #include "llvm/Support/Compiler.h"
|
| +#pragma clang diagnostic pop
|
| +
|
| #include <cstdint>
|
|
|
| namespace Ice {
|
| @@ -45,8 +50,8 @@ class RandomNumberGeneratorWrapper {
|
| public:
|
| uint64_t operator()(uint64_t Max) { return RNG.next(Max); }
|
| bool getTrueWithProbability(float Probability);
|
| - explicit RandomNumberGeneratorWrapper(RandomNumberGenerator &RNG)
|
| - : RNG(RNG) {}
|
| + explicit RandomNumberGeneratorWrapper(RandomNumberGenerator &MyRNG)
|
| + : RNG(MyRNG) {}
|
|
|
| private:
|
| RandomNumberGenerator &RNG;
|
|
|