summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/conditional-expr.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-09-07 01:56:07 +0000
committerEric Fiselier <eric@efcs.ca>2016-09-07 01:56:07 +0000
commitc1d527d3d832cac86eb9461dcef978011ef8caeb (patch)
tree8c68a5f8183f4a6af52acbdc1ed67f469e6e9ef7 /clang/test/SemaCXX/conditional-expr.cpp
parentedd0a7023f32a94f211201156fdc8ddf16bd85b2 (diff)
downloadbcm5719-llvm-c1d527d3d832cac86eb9461dcef978011ef8caeb.tar.gz
bcm5719-llvm-c1d527d3d832cac86eb9461dcef978011ef8caeb.zip
Fix PR30260 - optional<const T> not working.
This patch fixes PR30260 by using a (void*) cast on the placement argument to placement new to casts away the const. See also http://llvm.org/PR30260. As a drive by change this patch also changes the header guard for <experimental/optional> to _LIBCPP_EXPERIMENTAL_OPTIONAL from _LIBCPP_OPTIONAL. llvm-svn: 280775
Diffstat (limited to 'clang/test/SemaCXX/conditional-expr.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud