[DynInst_API:] [dyninst/dyninst] 35cc2d: Disable clang's format-nonliteral warning


Date: Sun, 24 Dec 2023 10:40:24 -0800
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 35cc2d: Disable clang's format-nonliteral warning
  Branch: refs/heads/thaines/parseapi_parsing_printf
  Home:   https://github.com/dyninst/dyninst
  Commit: 35cc2dbdfb1c1cf684ab4e1cc830c2bb8a49aeb1
      https://github.com/dyninst/dyninst/commit/35cc2dbdfb1c1cf684ab4e1cc830c2bb8a49aeb1
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-12-24 (Sun, 24 Dec 2023)

  Changed paths:
    M parseAPI/src/debug_parse.C

  Log Message:
  -----------
  Disable clang's format-nonliteral warning

This is a contentious warning that was added to clang-15. See
(https://discourse.llvm.org/t/rfc-c-buffer-hardening/65734/85) for
details. Disable it for now.

This should be converted to a standard diagnostic suppression in
common/compiler_diagnostics.h.


[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 35cc2d: Disable clang's format-nonliteral warning, Tim Haines <=