aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Timer.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-05-29 19:24:25 +0000
committerEric Fiselier <eric@efcs.ca>2017-05-29 19:24:25 +0000
commit3fd0228ead48aa9511a78f171ba08774f32df88e (patch)
tree36ebbae75b2c609360f6eea5c45c5c781d233dbb /llvm/lib/Support/Timer.cpp
parentc7bf2a1fae84e9bc82993512f76f3297d3663d0f (diff)
downloadllvm-3fd0228ead48aa9511a78f171ba08774f32df88e.zip
llvm-3fd0228ead48aa9511a78f171ba08774f32df88e.tar.gz
llvm-3fd0228ead48aa9511a78f171ba08774f32df88e.tar.bz2
[coroutines] Make coroutine_handle<T>::from_address ill-formed for everything but void*.
from_address requires that the provided pointer refer to the suspended coroutine, which doesn't have a type, or at least not one knowable by the user. Therefore every use of `from_address` with a typed pointer is almost certainly a bug. This behavior is a part of the TS specification, but hopefully it will be in the future. llvm-svn: 304172
Diffstat (limited to 'llvm/lib/Support/Timer.cpp')
0 files changed, 0 insertions, 0 deletions