aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ArchiveWriter.cpp
diff options
context:
space:
mode:
authorSteven Wu <stevenwu@apple.com>2022-01-18 08:37:22 -0800
committerSteven Wu <stevenwu@apple.com>2022-01-18 08:37:43 -0800
commit347d4d7323c4cf0d89fb14530e27ec5e2b1afeda (patch)
treee6af8ed0fc143179ad74e10671a691b6919aacd7 /llvm/lib/Object/ArchiveWriter.cpp
parentf5ff1cab43715216d2854f2dd1e3a24954a5e98d (diff)
downloadllvm-347d4d7323c4cf0d89fb14530e27ec5e2b1afeda.zip
llvm-347d4d7323c4cf0d89fb14530e27ec5e2b1afeda.tar.gz
llvm-347d4d7323c4cf0d89fb14530e27ec5e2b1afeda.tar.bz2
[ADT] Fix Optional<> with llvm::is_trivially_move_constructible
Fix the compatibility of Optional<> with some GCC versions that it will fail to compile when T is getting checked for `is_trivially_move_constructible` as mentioned here: https://reviews.llvm.org/D93510#2538983 Fix the problem by using `llvm::is_trivially_move_constructible`. Reviewed By: jplayer-nv, tatyana-krasnukha Differential Revision: https://reviews.llvm.org/D117254
Diffstat (limited to 'llvm/lib/Object/ArchiveWriter.cpp')
0 files changed, 0 insertions, 0 deletions