[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)
commit6fff5c412be27c1be4612449ed2f4d660f4f9421
treecf4d0d83e6f219283be914ba82867daa21e90a1c
parent9164b9b16e48092162758eef0cf6accf6d210add
[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

llvm-svn: 338343
clang/lib/AST/StmtProfile.cpp
clang/test/PCH/coroutines.cpp