]> granicus.if.org Git - clang/commit
Make casting 'super' a deprecated warning (instead of a hard error).
authorSteve Naroff <snaroff@apple.com>
Mon, 6 Apr 2009 22:07:54 +0000 (22:07 +0000)
committerSteve Naroff <snaroff@apple.com>
Mon, 6 Apr 2009 22:07:54 +0000 (22:07 +0000)
commitfc479d793b5daa20bbf54651b83a90e77e907949
tree74c8b4951a3bb4141e337df3cd9277d87bf06925
parentae8ecdd6dbaac2fc3e10f3146ec6bae28428cea3
Make casting 'super' a deprecated warning (instead of a hard error).

This will simplify clang adoption, and is probably better "etiquette" (since gcc has always accepted this idiom without warning). Once we are over the adoption hurdle, we can turn this into an error.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68468 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExpr.cpp
test/SemaObjC/call-super-2.m