================ @@ -0,0 +1,30 @@ +// RUN: %clang_analyze_cc1 -analyzer-checker=unix.StdCLibraryFunctions \ +// RUN: -analyzer-config unix.StdCLibraryFunctions:ModelPOSIX=true \ +// RUN: -triple arm64-apple-darwin -verify=darwin %s +// RUN: %clang_analyze_cc1 -analyzer-checker=unix.StdCLibraryFunctions \ +// RUN: -analyzer-config unix.StdCLibraryFunctions:ModelPOSIX=true \ +// RUN: -triple x86_64-unknown-linux-gnu -verify=linux %s ---------------- steakhal wrote:
Could you hoist the duplicated parts into a `DEFINE` directve? Also enable the `core` checker package. https://github.com/llvm/llvm-project/pull/219568 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
