]> granicus.if.org Git - clang/commit
Add a clarifying note when a return statement is rejected because
authorJohn McCall <rjmccall@apple.com>
Tue, 19 Mar 2013 07:04:25 +0000 (07:04 +0000)
committerJohn McCall <rjmccall@apple.com>
Tue, 19 Mar 2013 07:04:25 +0000 (07:04 +0000)
commit7cca821e1acf0f1b4fe892c3111bfb2086832e4e
tree52d32c5d35d69267c5b5ea16f7e5e6e89a55c6fb
parenta5a3e01c504c00b1860286540090695ec0167531
Add a clarifying note when a return statement is rejected because
we expect a related result type.

rdar://12493140

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177378 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/Sema/SemaDeclObjC.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprObjC.cpp
lib/Sema/SemaInit.cpp
lib/Sema/SemaStmt.cpp
test/CodeGenObjC/arc.m
test/SemaObjC/instancetype.m
test/SemaObjC/related-result-type-inference.m
test/SemaObjCXX/instancetype.mm [new file with mode: 0644]