]> granicus.if.org Git - clang/commit
Objective-C. Warn if protocol used in an @protocol
authorFariborz Jahanian <fjahanian@apple.com>
Fri, 25 Jul 2014 19:45:01 +0000 (19:45 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Fri, 25 Jul 2014 19:45:01 +0000 (19:45 +0000)
commit11b178d35aa745817061baeb28f022bfeb3221cb
treee226c448e07343f9aa952c9a5a610d6cf303f8bc
parentf87a07ae201f4546aacabc643df311c6d6a7944b
Objective-C. Warn if protocol used in an @protocol
expression is a forward declaration as this results
in undefined behavior. rdar://17768630

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@213968 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprObjC.cpp
test/SemaObjC/protocol-expr-1.m
test/SemaObjC/protocol-expr-neg-1.m