]> granicus.if.org Git - clang/commit
A bunch-o changes to fix <rdar://problem/5716046> incomplete implementation of ObjC...
authorSteve Naroff <snaroff@apple.com>
Fri, 8 Feb 2008 22:06:17 +0000 (22:06 +0000)
committerSteve Naroff <snaroff@apple.com>
Fri, 8 Feb 2008 22:06:17 +0000 (22:06 +0000)
commitefe7f36f4d87b6e64b87128a81018350b2f21987
tree153e66835f10c570f4014f7913fe88163b779590
parent016f52fe934394f7b6a68d35e698acaf23c6a1e5
A bunch-o changes to fix <rdar://problem/5716046> incomplete implementation of ObjC class warning is incomplete

As part of this fix, I made a low-level change to the text diagnostics machinery (to basically avoid printing duplicate source lines/carets when you have multiple diagnostics that refer to the same exact place). For now, this only happens with we don't have a source range (could be extended to support source ranges as well).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46897 91177308-0d34-0410-b5e6-96231b3b80d8
Driver/TextDiagnosticPrinter.cpp
Driver/TextDiagnosticPrinter.h
Sema/Sema.h
Sema/SemaDeclObjC.cpp
include/clang/Basic/DiagnosticKinds.def
test/Sema/method-undef-category-warn-1.m
test/Sema/method-undefined-warn-1.m
test/Sema/undef-protocol-methods-1.m