]> granicus.if.org Git - clang/commit
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)
commitc2add0a67604106d9460c0f6e8169e050f682a71
treeb1cb679304266b4e99d071903c590e4f1f5cfc86
parent05ff991ac22224ff97affdd4e24737551c4540c7
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@337728 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Initialization.h
lib/Sema/SemaExpr.cpp
lib/Sema/SemaInit.cpp