[PATCH] D73224: [hip] Remove `-Werror=format-nonliteral`

2020-01-23 Thread Michael Liao via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG49f7bc9e1e50: [hip] Remove `-Werror=format-nonliteral` (authored by hliao). Changed prior to commit: https://reviews.llvm.org/D73224?vs=239683&id=239910#toc Repository: rG LLVM Github Monorepo CHANG

[PATCH] D73224: [hip] Remove `-Werror=format-nonliteral`

2020-01-22 Thread Michael Liao via Phabricator via cfe-commits
hliao added a comment. Have to remove this as it causes compilation failures on irrelevant host code during device compilation. Maybe we need to introduce a new warning option to issue that warning on device code only. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://

[PATCH] D73224: [hip] Remove `-Werror=format-nonliteral`

2020-01-22 Thread Michael Liao via Phabricator via cfe-commits
hliao created this revision. hliao added reviewers: sameerds, yaxunl. Herald added a project: clang. Herald added a subscriber: cfe-commits. - It won't distinguish host and device code and trigger compilation failure on irrelevant code. Repository: rG LLVM Github Monorepo https://reviews.llv