Skip to content

Commit d8eb4ac

Browse files
authored
[Support] Remove ciso646 include (#123578)
This header has been removed in C++20 and causes a large amount of deprecation spam when building against libstdc++ 15 in C++17 mode. As far as I understand, we just need to include *some* STL header to get access to the version macros, and as this header also includes <optional> nowadays we can just drop the <cstd646> include entirely.
1 parent 6fdaaaf commit d8eb4ac

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/include/llvm/Support/Threading.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#include "llvm/ADT/StringRef.h"
1919
#include "llvm/Config/llvm-config.h" // for LLVM_ON_UNIX
2020
#include "llvm/Support/Compiler.h"
21-
#include <ciso646> // So we can check the C++ standard lib macros.
2221
#include <optional>
2322

2423
#if defined(_MSC_VER)

0 commit comments

Comments
 (0)