[PATCH] D40787: Replace the usage of std::uncaught_exception with std::uncaught_exceptions

Daniel Kolozsvari via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 4 08:05:07 PST 2017


koldaniel created this revision.
koldaniel added a project: clang-tools-extra.
Herald added subscribers: cfe-commits, mgorny.

Uses of std::uncaught_exception should be replaced with std::uncaught_exceptions, since the former is deprecated in C++17: http://en.cppreference.com/w/cpp/error/uncaught_exception. In case of macros there will be only a warning.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D40787

Files:
  clang-tidy/modernize/CMakeLists.txt
  clang-tidy/modernize/ModernizeTidyModule.cpp
  clang-tidy/modernize/ReplaceUncaughtExceptionCheck.cpp
  clang-tidy/modernize/ReplaceUncaughtExceptionCheck.h
  docs/clang-tidy/checks/list.rst
  docs/clang-tidy/checks/modernize-replace-uncaught-exception.rst
  test/clang-tidy/modernize-replace-uncaught-exception.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40787.125344.patch
Type: text/x-patch
Size: 9735 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171204/41b2d4c3/attachment-0001.bin>


More information about the cfe-commits mailing list