[all-commits] [llvm/llvm-project] 49f7bc: [hip] Remove `-Werror=format-nonliteral`

darkbuck via All-commits all-commits at lists.llvm.org
Thu Jan 23 08:02:41 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 49f7bc9e1e50eb8f6e065f97585b3bf0bcc23d5c
      https://github.com/llvm/llvm-project/commit/49f7bc9e1e50eb8f6e065f97585b3bf0bcc23d5c
  Author: Michael Liao <michael.hliao at gmail.com>
  Date:   2020-01-23 (Thu, 23 Jan 2020)

  Changed paths:
    M clang/lib/Driver/ToolChains/HIP.cpp
    M clang/test/Driver/hip-printf.hip

  Log Message:
  -----------
  [hip] Remove `-Werror=format-nonliteral`

Summary:
- It won't distinguish host and device code and trigger compilation
  failure on irrelevant code.

Reviewers: sameerds, yaxunl

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D73224




More information about the All-commits mailing list