Is there some way to ensure that this doesn't ever happen again? Like having -verify warn/fail if there is no input? That would allow fixing all of these cases in a single fell swoop and ensure that it never happens again.
-- Sean Silva On Wed, Sep 26, 2012 at 5:02 AM, Nico Weber <[email protected]> wrote: > Author: nico > Date: Wed Sep 26 04:02:07 2012 > New Revision: 164677 > > URL: http://llvm.org/viewvc/llvm-project?rev=164677&view=rev > Log: > Make this test actually test something > > Modified: > cfe/trunk/test/Sema/no-format-y2k-turnsoff-format.c > > Modified: cfe/trunk/test/Sema/no-format-y2k-turnsoff-format.c > URL: > http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/no-format-y2k-turnsoff-format.c?rev=164677&r1=164676&r2=164677&view=diff > ============================================================================== > --- cfe/trunk/test/Sema/no-format-y2k-turnsoff-format.c (original) > +++ cfe/trunk/test/Sema/no-format-y2k-turnsoff-format.c Wed Sep 26 04:02:07 > 2012 > @@ -1,4 +1,4 @@ > -// RUN: %clang_cc1 -verify -fsyntax-only -Wformat -Wno-format-y2k > +// RUN: %clang_cc1 -verify -fsyntax-only -Wformat -Wno-format-y2k %s > // rdar://9504680 > > void foo(const char *, ...) __attribute__((__format__ (__printf__, 1, 2))); > > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
