================ @@ -226,6 +236,10 @@ def run_clang_tidy(self): print("------------------------------------------------------------------") return clang_tidy_output + def check_no_diagnosis(self, clang_tidy_output): + if clang_tidy_output != "": + sys.exit("No diagnostics were expected, but found the ones above") ---------------- HerrCai0907 wrote:
Yes, It is a mistake. I forgot to delete the printing during development. 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