diff options
| author | Gabor Horvath <xazax.hun@gmail.com> | 2018-02-20 10:48:38 +0000 |
|---|---|---|
| committer | Gabor Horvath <xazax.hun@gmail.com> | 2018-02-20 10:48:38 +0000 |
| commit | 76e5023dd3cbad6be47944b7fe8d075a148e11ef (patch) | |
| tree | 4a41673d2a7be9c5c9f7ea337727e2a8a032c691 /clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp | |
| parent | b8f369d6362db8ed6e8c0e179c8705781a1ed767 (diff) | |
| download | bcm5719-llvm-76e5023dd3cbad6be47944b7fe8d075a148e11ef.tar.gz bcm5719-llvm-76e5023dd3cbad6be47944b7fe8d075a148e11ef.zip | |
[clang-tidy] Replace the usage of std::uncaught_exception with std::uncaught_exceptions
Patch by: Daniel Kolozsvari!
Differential Revision: https://reviews.llvm.org/D40787
llvm-svn: 325572
Diffstat (limited to 'clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp')
| -rw-r--r-- | clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp b/clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp index a2f05d6386e..63b7d022609 100644 --- a/clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp +++ b/clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp @@ -33,6 +33,7 @@ #include "UseNullptrCheck.h" #include "UseOverrideCheck.h" #include "UseTransparentFunctorsCheck.h" +#include "UseUncaughtExceptionsCheck.h" #include "UseUsingCheck.h" using namespace clang::ast_matchers; @@ -78,6 +79,8 @@ public: CheckFactories.registerCheck<UseOverrideCheck>("modernize-use-override"); CheckFactories.registerCheck<UseTransparentFunctorsCheck>( "modernize-use-transparent-functors"); + CheckFactories.registerCheck<UseUncaughtExceptionsCheck>( + "modernize-use-uncaught-exceptions"); CheckFactories.registerCheck<UseUsingCheck>("modernize-use-using"); } |

