]> granicus.if.org Git - clang/commit
[coroutines] Fix handling of dependent co_await in StmtProfiler.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 31 Jul 2018 00:47:41 +0000 (00:47 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 31 Jul 2018 00:47:41 +0000 (00:47 +0000)
commita7a88118684e7ea75ae229b1ae9b2ac31c7d5fcc
tree8643fd35880bb3004baeb0892355f2f638741d0d
parent41c9b5080b20a626cb390beef4ff22989f4a2ee7
[coroutines] Fix handling of dependent co_await in StmtProfiler.

Fix "Invalid operator call kind" error (llvm_unreachable) in
DecodeOperatorCall when profiling a dependent co_await.

Patch by Victor Zverovich!

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@338343 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/StmtProfile.cpp
test/PCH/coroutines.cpp