aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorNikolas Klauser <nikolasklauser@berlin.de>2024-11-13 11:57:16 +0100
committerGitHub <noreply@github.com>2024-11-13 11:57:16 +0100
commitb69ddbc62838f23ace237c206676b1ed1c882638 (patch)
treec61faf36c7d5022310899fe6bfe40b1f0460a046 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent889b3c9487d114b9d082e9552599c8a8a8ccc660 (diff)
downloadllvm-b69ddbc62838f23ace237c206676b1ed1c882638.zip
llvm-b69ddbc62838f23ace237c206676b1ed1c882638.tar.gz
llvm-b69ddbc62838f23ace237c206676b1ed1c882638.tar.bz2
[libc++] Make variables in templates inline (#115785)
The variables are all `constexpr`, which implies `inline`. Since they aren't `constexpr` in C++03 they're also not `inline` there. Because of that we define them out-of-line currently. Instead we can use the C++17 extension of `inline` variables, which results in the same weak definitions of the variables but without having all the boilerplate.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions