[all-commits] [llvm/llvm-project] c89735: Remove dependence on <ciso646> (#73273)
Michael Kenzel via All-commits
all-commits at lists.llvm.org
Sat Feb 8 18:48:24 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c89735d289f341985ca2ea74486b96bc611b3c64
https://github.com/llvm/llvm-project/commit/c89735d289f341985ca2ea74486b96bc611b3c64
Author: Michael Kenzel <michael.kenzel at gmail.com>
Date: 2025-02-08 (Sat, 08 Feb 2025)
Changed paths:
M llvm/include/llvm/Support/Threading.h
Log Message:
-----------
Remove dependence on <ciso646> (#73273)
C++23 removed `<ciso646>` from the standard library. The header is used
in two places: Once in order to pull in standard library macros. Since
this file also includes `<optional>`, that use of `<ciso646>` is
technically redundant, but should probably be left in in case a future
change ever removes the include of `<optional>`. A second use of
`<ciso646>` appears to have been introduced in
da650094b187ee3c8017d74f63c885663faca1d8, but seems unnecessary (the
file doesn't seem to use anything from that header, and it seems to
build just fine on MSVC here without it). The new `<version>` header
should be supported by all supported implementations. This change
replaces uses of `<ciso646>` with the `<version>` header, or removes
them entirely where unnecessary.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list