[cfe-dev] Testsuite failures?

Eli Friedman eli.friedman at gmail.com
Tue Feb 17 17:16:18 PST 2009


On Tue, Feb 17, 2009 at 5:13 PM, Chris Lattner <clattner at apple.com> wrote:
>
> On Feb 17, 2009, at 5:08 PM, Eli Friedman wrote:
>
>> I just fixed a couple of testsuite failures, but I'm still seeing
>> failures in test/SemaCXX/overload-decl.cpp and
>> test/Analysis/null-deref-ps.c, and I'm not sure how to fix them.
>> Anyone know what's going on there?
>
> What do the failures look like?

******************** TEST
'/home/eli/llvm/tools/clang/test/Analysis/null-deref-ps.c' FAILED!
********************
Command:
 clang -analyze -std=gnu99 -checker-simple -verify
/home/eli/llvm/tools/clang/test/Analysis/null-deref-ps.c &&
 clang -analyze -std=gnu99 -checker-simple -verify
/home/eli/llvm/tools/clang/test/Analysis/null-deref-ps.c
-analyzer-constraints=range &&
 clang -analyze -std=gnu99 -checker-simple -analyzer-store=region
-analyzer-purge-dead=false -verify
/home/eli/llvm/tools/clang/test/Analysis/null-deref-ps.c &&
 clang -analyze -std=gnu99 -checker-cfref -analyzer-store=region
-verify /home/eli/llvm/tools/clang/test/Analysis/null-deref-ps.c
Incorrect Output:
11 diagnostics generated.
Warnings seen but not expected:
  Line 115: Dereference of null pointer.
  Line 169: Dereference of null pointer.
******************** TEST
'/home/eli/llvm/tools/clang/test/Analysis/null-deref-ps.c' FAILED!
********************

******************** TEST
'/home/eli/llvm/tools/clang/test/SemaCXX/overload-decl.cpp' FAILED!
********************
Command:
 clang -fsyntax-only -verify
/home/eli/llvm/tools/clang/test/SemaCXX/overload-decl.cpp
Incorrect Output:
Errors expected but not seen:
  Line 30: static and non-static member functions with the same
parameter types cannot be overloaded
Errors seen but not expected:
  Line 30: class member cannot be redeclared
******************** TEST
'/home/eli/llvm/tools/clang/test/SemaCXX/overload-decl.cpp' FAILED!
********************

-Eli



More information about the cfe-dev mailing list