]> granicus.if.org Git - clang/commit
Remove unused SK_LValueToRValue initialization step.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 13 Jun 2019 23:47:42 +0000 (23:47 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 13 Jun 2019 23:47:42 +0000 (23:47 +0000)
commit16bca0111f2cc34ae391b2735e0157a72fd584f2
tree38c47f4c7b2991a5c087a03ed4166e62736fdbbc
parent7bbf5d1de0007b0c1c09cb7af6d6863df6faf968
Remove unused SK_LValueToRValue initialization step.

In addition to being unused and duplicating code, this was also wrong
(it didn't properly mark the operand as being potentially not odr-used).

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