diff options
| author | Alexander Kornienko <alexfh@google.com> | 2017-06-09 07:34:58 +0000 |
|---|---|---|
| committer | Alexander Kornienko <alexfh@google.com> | 2017-06-09 07:34:58 +0000 |
| commit | 564f1c74b6713ce952be8f683d3ae483ca626f7f (patch) | |
| tree | 4c3c9a58c1afd5517fc259f8e1e84ee3086373a7 /clang-tools-extra/clang-tidy/misc/NoexceptMoveConstructorCheck.cpp | |
| parent | 4a60d370e8b85949699e730a569d3774baa2f4ce (diff) | |
| download | bcm5719-llvm-564f1c74b6713ce952be8f683d3ae483ca626f7f.tar.gz bcm5719-llvm-564f1c74b6713ce952be8f683d3ae483ca626f7f.zip | |
Revert "[clang-tidy] When" -fno-exceptions is used", this warning is better to be suppressed."
This reverts commit r304949.
https://reviews.llvm.org/D34002#775830
llvm-svn: 305057
Diffstat (limited to 'clang-tools-extra/clang-tidy/misc/NoexceptMoveConstructorCheck.cpp')
| -rw-r--r-- | clang-tools-extra/clang-tidy/misc/NoexceptMoveConstructorCheck.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clang-tidy/misc/NoexceptMoveConstructorCheck.cpp b/clang-tools-extra/clang-tidy/misc/NoexceptMoveConstructorCheck.cpp index 2fdcf75083f..12a360f4ba7 100644 --- a/clang-tools-extra/clang-tidy/misc/NoexceptMoveConstructorCheck.cpp +++ b/clang-tools-extra/clang-tidy/misc/NoexceptMoveConstructorCheck.cpp @@ -20,7 +20,7 @@ namespace misc { void NoexceptMoveConstructorCheck::registerMatchers(MatchFinder *Finder) { // Only register the matchers for C++11; the functionality currently does not // provide any benefit to other languages, despite being benign. - if (!getLangOpts().CPlusPlus11 || !getLangOpts().CXXExceptions) + if (!getLangOpts().CPlusPlus11) return; Finder->addMatcher( |

