Skip to content

Commit ce571c9

Browse files
committed
Revert "[bazel] Update after 2447540"
This reverts commit f71b188. The corresponding commit was reverted by fa74df3.
1 parent d60da27 commit ce571c9

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

utils/bazel/llvm_configs/abi-breaking.h.cmake

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
#ifndef LLVM_ABI_BREAKING_CHECKS_H
1313
#define LLVM_ABI_BREAKING_CHECKS_H
1414

15-
// Compiler.h is required for LLVM_ABI definition.
16-
#include "llvm/Support/Compiler.h"
17-
1815
/* Define to enable checks that alter the LLVM C++ ABI */
1916
#cmakedefine01 LLVM_ENABLE_ABI_BREAKING_CHECKS
2017

@@ -46,12 +43,12 @@
4643
#endif
4744
namespace llvm {
4845
#if LLVM_ENABLE_ABI_BREAKING_CHECKS
49-
LLVM_ABI extern int EnableABIBreakingChecks;
46+
extern int EnableABIBreakingChecks;
5047
LLVM_HIDDEN_VISIBILITY
5148
__attribute__((weak)) int *VerifyEnableABIBreakingChecks =
5249
&EnableABIBreakingChecks;
5350
#else
54-
LLVM_ABI extern int DisableABIBreakingChecks;
51+
extern int DisableABIBreakingChecks;
5552
LLVM_HIDDEN_VISIBILITY
5653
__attribute__((weak)) int *VerifyDisableABIBreakingChecks =
5754
&DisableABIBreakingChecks;

0 commit comments

Comments
 (0)