klimek added inline comments. ================ Comment at: test/clang-tidy/misc-static-assert-c99.c:1 @@ +1,2 @@ +// RUN: %python %S/check_clang_tidy.py %s misc-static-assert %t -- -std=c99 + ---------------- alexfh wrote: > Instead of duplicating the test, you could add a second run line in the other > test and just verify that clang-tidy doesn't generate any warnings when run > with `-std=c99`. The invariant "no warnings == no fixes" is pretty basic for > clang-tidy, so you can rely on it in the tests. Phab test 2.
http://reviews.llvm.org/D12446 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits