]> granicus.if.org Git - clang/commit
Redeclaration of 'self' should be flagged in
authorFariborz Jahanian <fjahanian@apple.com>
Tue, 12 Apr 2011 23:39:33 +0000 (23:39 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Tue, 12 Apr 2011 23:39:33 +0000 (23:39 +0000)
commitb8f17abf30a9aab6382c84a758fd6679a8b5583a
tree99d0c7b95bea9c596b049ab11e345591dc46b9c8
parentf7e903d7a30891083420c07ebeed281726a101d6
Redeclaration of 'self' should be flagged in
objective-c instead of crashing in IRgen.
// rdar://9154582.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129412 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExpr.cpp
test/SemaObjC/self-declared-in-block.m [new file with mode: 0644]