[cfe-commits] r133196 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td lib/Sema/SemaExpr.cpp test/SemaCXX/null_in_arithmetic_ops.cpp test/SemaCXX/nullptr_in_arithmetic_ops.cpp test/SemaObjCXX/null_objc_pointer.mm
clattner at apple.com
Thu Jun 16 18:47:02 PDT 2011
On Jun 16, 2011, at 6:34 PM, Richard Trieu wrote:
> Hey Chad,
> I am unfamiliar with how these cases are set up. What are the flags that are used to run this and what is the expected behavior from this test? It looks like the dg-warning marks which lines are allowed to have warnings, and not others. Is this correct?
> I think the problem might be because my patch introduces a warning at lines 32 & 33, which aren't expecting a warning. One is a comparison of NULL and a function. The other is a comparison of an array and NULL. Is this warning appropriate here or should these cases be excluded from the warning?
The best way to find this out (I recently just learned :) is to check out http://llvm.org/svn/llvm-project/clang-tests/trunk and look at the top level readme,
> On Thu, Jun 16, 2011 at 5:44 PM, Chad Rosier <mcrosier at apple.com> wrote:
> Sorry about that! I see how that could make debugging difficult.
> The reported error is:
> g++.old-deja/g++.other/null1.C (test for excess errors)
> On Jun 16, 2011, at 5:36 PM, Chandler Carruth wrote:
>> Please don't post links to the internal Apple build bots, post the text of the regression? =] Then we can make progress on which of the several test cases in that file is misbehaving.
>> On Thu, Jun 16, 2011 at 5:32 PM, Chad Rosier <mcrosier at apple.com> wrote:
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits