OSDN Git Service

Revert rL317019, "[ADT] Split optional to only include copy mechanics and dtor for...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 1 Nov 2017 05:14:31 +0000 (05:14 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 1 Nov 2017 05:14:31 +0000 (05:14 +0000)
commit89f198924daf253cca81e93376531d06e3cb9436
tree9f105f5fed46ad2fd23e0ae2ada651e181efd3d9
parentb1a2e303f233fc22f4d4bc34f78d19c4c600e24d
Revert rL317019, "[ADT] Split optional to only include copy mechanics and dtor for non-trivial types."

Seems g++-4.8 (eg. Ubuntu 14.04) doesn't like this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317077 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/Optional.h
unittests/ADT/OptionalTest.cpp