================ @@ -0,0 +1,57 @@ +// RUN: %check_clang_tidy %s bugprone-setvbuf-stack-buffer %t + +typedef unsigned long size_t; ---------------- zeyi2 wrote:
AFAIK `%check_clang_tidy` already passes `-isystem .../Inputs/Headers/std` by default, so you can directly use `<stdio.h>`. If the shared header doesn't yet declare `setvbuf`, could you add it there rather than inlining it in the test. https://github.com/llvm/llvm-project/pull/187637 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
