[webkit-changes] [WebKit/WebKit] 9f8cdb: Fix ignoring stringop-truncation warnings with clang

Patrick noreply at github.com
Thu Jun 22 11:09:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9f8cdbea8cd8ec9da2afa1f5839e7125b862c7e7
      https://github.com/WebKit/WebKit/commit/9f8cdbea8cd8ec9da2afa1f5839e7125b862c7e7
  Author: Patrick Griffis <pgriffis at igalia.com>
  Date:   2023-06-22 (Thu, 22 Jun 2023)

  Changed paths:
    M Source/JavaScriptCore/runtime/ConfigFile.cpp

  Log Message:
  -----------
  Fix ignoring stringop-truncation warnings with clang
https://bugs.webkit.org/show_bug.cgi?id=258362

Reviewed by Yusuke Suzuki.

IGNORE_GCC_WARNINGS_BEGIN only applies to gcc and
in this case clang supports the same stringop-truncation
warning.

* Source/JavaScriptCore/runtime/ConfigFile.cpp:
(JSC::ConfigFile::ConfigFile):
(JSC::ConfigFile::canonicalizePaths):

Canonical link: https://commits.webkit.org/265414@main




More information about the webkit-changes mailing list