[libcxx] r245411 - Remove commented out TODOs. They defined unneeded methods.
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 18 20:48:09 PDT 2015
Author: ericwf
Date: Tue Aug 18 22:48:08 2015
New Revision: 245411
URL: http://llvm.org/viewvc/llvm-project?rev=245411&view=rev
Log:
Remove commented out TODOs. They defined unneeded methods.
Modified:
libcxx/trunk/include/experimental/any
libcxx/trunk/src/any.cpp
Modified: libcxx/trunk/include/experimental/any
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/experimental/any?rev=245411&r1=245410&r2=245411&view=diff
==============================================================================
--- libcxx/trunk/include/experimental/any (original)
+++ libcxx/trunk/include/experimental/any Tue Aug 18 22:48:08 2015
@@ -93,9 +93,6 @@ _LIBCPP_BEGIN_NAMESPACE_LFTS
class _LIBCPP_EXCEPTION_ABI bad_any_cast : public bad_cast
{
public:
- //TODO(EricWF) Enable or delete these.
- //bad_any_cast() _NOEXCEPT;
- //virtual ~bad_any_cast() _NOEXCEPT;
virtual const char* what() const _NOEXCEPT;
};
Modified: libcxx/trunk/src/any.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/src/any.cpp?rev=245411&r1=245410&r2=245411&view=diff
==============================================================================
--- libcxx/trunk/src/any.cpp (original)
+++ libcxx/trunk/src/any.cpp Tue Aug 18 22:48:08 2015
@@ -11,10 +11,6 @@
_LIBCPP_BEGIN_NAMESPACE_LFTS
-// TODO(EricWF) Enable or delete these
-//bad_any_cast::bad_any_cast() _NOEXCEPT {}
-//bad_any_cast::~bad_any_cast() _NOEXCEPT {}
-
const char* bad_any_cast::what() const _NOEXCEPT {
return "bad any cast";
}
More information about the cfe-commits
mailing list