[PATCH] D65371: do not emit -Wunused-macros warnings in -frewrite-includes mode (PR15614)

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 5 15:29:18 PDT 2019


dblaikie added a comment.

A test case would be good (in the clang/test directory - probably near/in the other tests for -frewrite-includes)

And does the same bug occur for other preprocessor-related warnings? Maybe it's not practical to disable them all this way & there should be a different solution? (or maybe we shouldn't fix these and users can pass -w to disable warnings when using -frewrite-includes?)


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65371/new/

https://reviews.llvm.org/D65371





More information about the cfe-commits mailing list