[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
rtrieu at google.com
Thu Jun 16 18:34:47 PDT 2011
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?
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:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits