HerrCai0907 wrote:

> Why can the tests not just accept reference files that do not contain any 
> CHECK-* comments?

run-clang-tidy do assert for this, since FileCheck need to use this information 
to check the result. If nothing is provided, then  nothing can be detected.

> Also, isn't there the // RUN: not %check_clang_tidy (note the not) command to 
> claim a test file doesn't trigger the specified checks?

`not` will treat non-zero return code as success. It is totally different 
thing. 

https://github.com/llvm/llvm-project/pull/91293
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to