]> granicus.if.org Git - clang/commit
Tweak duplicate category diagnostic to work like the duplicate protocol diagnostic.
authorChris Lattner <sabre@nondot.org>
Sun, 23 Nov 2008 22:38:38 +0000 (22:38 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 23 Nov 2008 22:38:38 +0000 (22:38 +0000)
commit6ff0fc341f6d66b523d63b5d3fdfe00f6d4254fd
tree50fe9850991c12dcd2194d48d5ffd46dd7aa576a
parent08631c5fa053867146b5ee8be658c229f6bf127c
Tweak duplicate category diagnostic to work like the duplicate protocol diagnostic.
Also, point out where the previous decl was.  This unxfails two tests.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59918 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticKinds.def
lib/Sema/SemaDeclObjC.cpp
test/SemaObjC/category-1.m
test/SemaObjC/check-dup-objc-decls-1.m