Separate out the initialization kind for a statement expression result
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 23 Jul 2018 19:19:08 +0000 (19:19 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 23 Jul 2018 19:19:08 +0000 (19:19 +0000)
commit67af95bbe7285aecc2a96cf8c6d5b108b2a24054
treefd92b848aa7199d32b1682a26c8a7cc3cfb10250
parente5594011590405a5cdda96ec5e20290b96731a03
Separate out the initialization kind for a statement expression result
from that for a return value.

No functionality change intended: I don't believe any of the diagnostics
affected by this patch are reachable when initializing the result of
statement expression.

llvm-svn: 337728
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Sema/Initialization.h
clang/lib/Sema/SemaExpr.cpp
clang/lib/Sema/SemaInit.cpp