From e2fa53030e1457060e5b88d4168be9c5b121054c Mon Sep 17 00:00:00 2001 From: Gabor Horvath Date: Fri, 17 Feb 2017 08:52:51 +0000 Subject: [clang-tidy] Add cert-dcl58-cpp (do not modify the 'std' namespace) check. Differential Revision: https://reviews.llvm.org/D23421 llvm-svn: 295435 --- clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp') diff --git a/clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp b/clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp index d28f013aadf..1f1f7d7a753 100644 --- a/clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp +++ b/clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp @@ -17,6 +17,7 @@ #include "../misc/StaticAssertCheck.h" #include "../misc/ThrowByValueCatchByReferenceCheck.h" #include "CommandProcessorCheck.h" +#include "DontModifyStdNamespaceCheck.h" #include "FloatLoopCounter.h" #include "LimitedRandomnessCheck.h" #include "SetLongJmpCheck.h" @@ -37,6 +38,8 @@ public: CheckFactories.registerCheck("cert-dcl50-cpp"); CheckFactories.registerCheck( "cert-dcl54-cpp"); + CheckFactories.registerCheck( + "cert-dcl58-cpp"); CheckFactories.registerCheck( "cert-dcl59-cpp"); // OOP -- cgit v1.2.3