summaryrefslogtreecommitdiffstats
path: root/clang/test/ARCMT/check-with-serialized-diag.m
Commit message (Collapse)AuthorAgeFilesLines
* Point diagnostics that complain about a use of a selector in an objc ↵Argyrios Kyrtzidis2013-05-011-6/+6
| | | | | | | | | | | | message, to the selector location. Previously it would point to the left bracket or the receiver, which can be particularly problematic if the receiver is a block literal and we end up point the diagnostic far away for the selector that is complaining about. rdar://13620447 llvm-svn: 180833
* Don't include FixIts with a null replacement range. Fixes ↵Ted Kremenek2012-03-201-1/+8
| | | | | | <rdar://problem/11040133>. llvm-svn: 153122
* Make changes to SDiagsWriter to make it work in combination with the ARC ↵Argyrios Kyrtzidis2011-12-071-0/+48
migrator: -Allow it to be used with multiple BeginSourceFile/EndSourceFile calls; for this introduce a "finish" callback method in the DiagnosticConsumer. SDiagsWriter finishes up the serialization file inside this method. -Make it independent of any particular DiagnosticsEngine; make it use the SourceManager of the Diagnostic object. -Ignore null source ranges. llvm-svn: 146020
OpenPOWER on IntegriCloud