diff options
Diffstat (limited to 'clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp')
| -rw-r--r-- | clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp b/clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp index 1007522db63..da09932e2f4 100644 --- a/clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp +++ b/clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp @@ -21,6 +21,7 @@ #include "FloatLoopCounter.h" #include "LimitedRandomnessCheck.h" #include "PostfixOperatorCheck.h" +#include "ProperlySeededRandomGeneratorCheck.h" #include "SetLongJmpCheck.h" #include "StaticObjectExceptionCheck.h" #include "StrToNumCheck.h" @@ -58,6 +59,8 @@ public: "cert-err61-cpp"); // MSC CheckFactories.registerCheck<LimitedRandomnessCheck>("cert-msc50-cpp"); + CheckFactories.registerCheck<ProperlySeededRandomGeneratorCheck>( + "cert-msc51-cpp"); // C checkers // DCL @@ -72,6 +75,8 @@ public: CheckFactories.registerCheck<StrToNumCheck>("cert-err34-c"); // MSC CheckFactories.registerCheck<LimitedRandomnessCheck>("cert-msc30-c"); + CheckFactories.registerCheck<ProperlySeededRandomGeneratorCheck>( + "cert-msc32-c"); } }; |

