[ADT] Drop llvm::Optional clang-specific optmization for trivially copyable types
authorTom Stellard <tstellar@redhat.com>
Thu, 15 Nov 2018 19:32:24 +0000 (19:32 +0000)
committerTom Stellard <tstellar@redhat.com>
Thu, 15 Nov 2018 19:32:24 +0000 (19:32 +0000)
commitcc14a3241161313c9f238c22134aba6140a91597
treed4a830e83a1a1dae4c8c7a7784aa202e813d0c87
parent782a15a0d1412d42326016f8a9ce72c7c5d9693c
[ADT] Drop llvm::Optional clang-specific optmization for trivially copyable types

Summary:
This fixes libLLVM.so ABI mismatches between llvm compiled with clang
and llvm compiled with gcc (PR39427).

Reviewers: bkramer, sylvestre.ledru, mgorny, hans

Reviewed By: bkramer, hans

Subscribers: dexonsmith, kristina, llvm-commits

Differential Revision: https://reviews.llvm.org/D54540

llvm-svn: 346985
llvm/include/llvm/ADT/Optional.h