================ @@ -874,4 +874,9 @@ def warn_drv_openacc_without_cir : Warning<"OpenACC directives will result in no runtime behavior; use " "-fclangir to enable runtime effect">, InGroup<SourceUsesOpenACC>; + +def warn_drv_sanitize_trap_mismatch : Warning< + "-fsanitize-trap=%0 has no effect because the matching sanitizer is not enabled; " + "did you mean to pass \"-fsanitize=%0\" as well?">, ---------------- delcypher wrote:
Nit: Here's my suggested wording. `"-fsanitize-trap=%0 has no effect because the "%0" sanitizer is disabled; consider passing \"`-fsantize=%0\"` to enable the sanitizer` https://github.com/llvm/llvm-project/pull/147997 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits