[PATCH] D40787: Replace the usage of std::uncaught_exception with std::uncaught_exceptions
Gábor Horváth via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 4 08:22:58 PST 2017
xazax.hun added inline comments.
================
Comment at: test/clang-tidy/modernize-replace-uncaught-exception.cpp:41
+
+ res = uncaught_exception();
+ // CHECK-MESSAGES: [[@LINE-1]]:9: warning: 'std::uncaught_exception' is deprecated, use 'std::uncaught_exceptions' instead
----------------
Why is this call not ambiguous (global namespace's functions vs std's)?
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D40787
More information about the cfe-commits
mailing list