]> granicus.if.org Git - clang/commit
Allow objc @() syntax for enum types.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 15 May 2012 19:17:44 +0000 (19:17 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 15 May 2012 19:17:44 +0000 (19:17 +0000)
commitf5343ff93a9549c49469dee366733e1e31ab836e
treeceb22fa63c32d319c440a46d9765130acee2e11d
parent63d9f3cddee40a3f3e5579e9004b31ec8663b5d9
Allow objc @() syntax for enum types.

Previously we would reject it as illegal using a value of
enum type and on ObjC++ it was illegal to use an enumerator
as well.

rdar://11454917

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156843 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExprObjC.cpp
test/SemaObjC/boxing-illegal-types.m
test/SemaObjCXX/boxing-illegal-types.mm [new file with mode: 0644]