summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-04-17 22:06:13 +0000
committerEric Fiselier <eric@efcs.ca>2017-04-17 22:06:13 +0000
commitfb289ecde06ab88e82701c8a386f960572d1a7bb (patch)
treeb4b27d0faef9c510ffa600dc407a521837fbe207 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent9575d8ff364e79200177fb7f9ee93325308a83e6 (diff)
[coroutines] Fix rebuilding of implicit and dependent coroutine statements.
Summary: Certain implicitly generated coroutine statements, such as the calls to 'return_value()' or `return_void()` or `get_return_object_on_allocation_failure()`, cannot be built until the promise type is no longer dependent. This means they are not built until after the coroutine body statement has been transformed. This patch fixes an issue where these statements would never be built for coroutine templates. It also fixes a small issue where diagnostics about `get_return_object_on_allocation_failure()` were incorrectly suppressed. Reviewers: rsmith, majnemer, GorNishanov, aaron.ballman Reviewed By: GorNishanov Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D31487 llvm-svn: 300504
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions