]> granicus.if.org Git - clang/commit
Fix scoping of method declarations and issue
authorFariborz Jahanian <fjahanian@apple.com>
Wed, 9 Feb 2011 22:20:01 +0000 (22:20 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Wed, 9 Feb 2011 22:20:01 +0000 (22:20 +0000)
commit7f53253223b29d77f1e9c5c0ce93a19932761b77
tree241f0561678ba7020b09d3088260ca62e378b2e5
parentbf36e25224b959595af84337339103ebc542ff8c
Fix scoping of method declarations and issue
warning when same parameter name used multiple times.
// rdar://8877730

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125229 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticCommonKinds.td
include/clang/Sema/Sema.h
lib/Parse/ParseObjc.cpp
lib/Sema/SemaDeclObjC.cpp
test/Parser/objc-forcollection-neg-2.m
test/Parser/objc-forcollection-neg.m
test/Parser/objc-foreach-syntax.m
test/SemaObjC/method-prototype-scope.m [new file with mode: 0644]