]> granicus.if.org Git - clang/commit
Objective-C++ (and c++) Sema: Patch fixes a sema crash when gnu’s ?: extension
authorFariborz Jahanian <fjahanian@apple.com>
Fri, 17 May 2013 16:29:36 +0000 (16:29 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Fri, 17 May 2013 16:29:36 +0000 (16:29 +0000)
commit2521dfa550805e3ca50c63eccbb185e6720a4041
tree8e0b3dbeb3393a5777aaae9073dab277631214c9
parent8fbda8e4a028d67a2aba0176a10607c3e743f759
Objective-C++ (and c++) Sema: Patch fixes a sema crash when gnu’s ?: extension
is used for Objective-C++’s dictionary subscripting. This is done by filtering
out all placeholder types before check on lowering of the
common expression is done. // rdar://1374918.
Reviewed by John McCall.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182120 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp
test/SemaObjCXX/missing-lhs-gun-extension.mm [new file with mode: 0644]