Skip to content

Commit 12d5f7b

Browse files
committed
[llvm] Rerun cp-to-llvm.sh and rebase
1 parent cd974ce commit 12d5f7b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

llvm/include/llvm/Demangle/ItaniumDemangle.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#include "DemangleConfig.h"
2020
#include "StringViewExtras.h"
2121
#include "Utility.h"
22-
#include <__cxxabi_config.h>
2322
#include <algorithm>
2423
#include <cctype>
2524
#include <cstdio>
@@ -31,7 +30,7 @@
3130
#include <type_traits>
3231
#include <utility>
3332

34-
#ifdef _LIBCXXABI_COMPILER_CLANG
33+
#if defined(__clang__)
3534
#pragma clang diagnostic push
3635
#pragma clang diagnostic ignored "-Wunused-template"
3736
#endif
@@ -5948,7 +5947,7 @@ struct ManglingParser : AbstractManglingParser<ManglingParser<Alloc>, Alloc> {
59485947

59495948
DEMANGLE_NAMESPACE_END
59505949

5951-
#ifdef _LIBCXXABI_COMPILER_CLANG
5950+
#if defined(__clang__)
59525951
#pragma clang diagnostic pop
59535952
#endif
59545953

0 commit comments

Comments
 (0)