Skip to content

Commit a2f6604

Browse files
committed
Remove unnecessary changes
1 parent fcb19f8 commit a2f6604

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

libcxx/include/__exception/exception_ptr.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ _LIBCPP_PUSH_MACROS
4141
# define _LIBCPP_EXPORTED_FROM_LIB_INLINEABLE _LIBCPP_HIDE_FROM_ABI
4242
# endif
4343

44-
_LIBCPP_DIAGNOSTIC_PUSH
45-
_LIBCPP_CLANG_DIAGNOSTIC_IGNORED("-Wgnu-inline-cpp-without-extern")
46-
4744
# if _LIBCPP_AVAILABILITY_HAS_INIT_PRIMARY_EXCEPTION
4845

4946
namespace __cxxabiv1 {
@@ -223,8 +220,6 @@ _LIBCPP_HIDE_FROM_ABI exception_ptr make_exception_ptr(_Ep) _NOEXCEPT {
223220
}
224221
# endif // _LIBCPP_HAS_EXCEPTIONS
225222

226-
_LIBCPP_DIAGNOSTIC_POP
227-
228223
#else // _LIBCPP_ABI_MICROSOFT
229224

230225
class _LIBCPP_EXPORTED_FROM_ABI exception_ptr {

libcxx/src/support/runtime/exception_pointer_glibcxx.ipp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
//
88
//===----------------------------------------------------------------------===//
99

10-
1110
// libsupc++ does not implement the dependent EH ABI and the functionality
1211
// it uses to implement std::exception_ptr (which it declares as an alias of
1312
// std::__exception_ptr::exception_ptr) is not directly exported to clients. So

libcxx/test/tools/clang_tidy_checks/hide_from_abi.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ hide_from_abi::hide_from_abi(llvm::StringRef name, clang::tidy::ClangTidyContext
2323
void hide_from_abi::registerMatchers(clang::ast_matchers::MatchFinder* finder) {
2424
using namespace clang::ast_matchers;
2525

26-
auto has_hide_from_abi_attr =
27-
anyOf(hasAttr(clang::attr::Visibility), hasAttr(clang::attr::AbiTag), hasAttr(clang::attr::GNUInline));
26+
auto has_hide_from_abi_attr = anyOf(hasAttr(clang::attr::Visibility), hasAttr(clang::attr::AbiTag));
2827

2928
finder->addMatcher(
3029
functionDecl(

0 commit comments

Comments
 (0)