[libc++] Extend check for non-ASCII characters to src/, test/ and benchmarks/
Differential Revision: https://reviews.llvm.org/D132180
NOKEYCHECK=True
GitOrigin-RevId: 355e0ce3c5366bd0b564a25e4b6675353da3c53e
diff --git a/src/optional.cpp b/src/optional.cpp
index ac1a0a5..e2b5cce 100644
--- a/src/optional.cpp
+++ b/src/optional.cpp
@@ -16,7 +16,7 @@
const char* bad_optional_access::what() const noexcept {
return "bad_optional_access";
- }
+}
} // std
@@ -28,13 +28,13 @@
_LIBCPP_BEGIN_NAMESPACE_EXPERIMENTAL
class _LIBCPP_EXCEPTION_ABI _LIBCPP_AVAILABILITY_BAD_OPTIONAL_ACCESS bad_optional_access
- : public std::logic_error
+ : public std::logic_error
{
public:
- bad_optional_access() : std::logic_error("Bad optional Access") {}
+ bad_optional_access() : std::logic_error("Bad optional Access") {}
-// Get the key function ~bad_optional_access() into the dylib
- virtual ~bad_optional_access() noexcept;
+ // Get the key function ~bad_optional_access() into the dylib
+ virtual ~bad_optional_access() noexcept;
};
bad_optional_access::~bad_optional_access() noexcept = default;