]> granicus.if.org Git - clang/commit
Do l-value conversion, etc., on a switch condition expression in
authorJohn McCall <rjmccall@apple.com>
Sat, 6 Aug 2011 07:30:58 +0000 (07:30 +0000)
committerJohn McCall <rjmccall@apple.com>
Sat, 6 Aug 2011 07:30:58 +0000 (07:30 +0000)
commita8e0cd8cdecc7e0ba1792e46773b884c6eed4829
treedb7a19e171a67f6cc7a3912908fa84f449f2712d
parent993124ecdd44ec1430a3b7f01b22f65bbaadb586
Do l-value conversion, etc., on a switch condition expression in
ActOnStartOfSwitchStmt (i.e. before binding up a full-expression)
instead of ActOnFinishSwitchStmt.

Among other things, this means that property l-values are properly
converted inside the full-expression.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137014 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaCodeComplete.cpp
lib/Sema/SemaStmt.cpp
test/SemaObjC/arc.m