[PATCH] D32341: Fix a bug that warnings generated with -M or -MM flags

Yuka Takahashi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 24 01:46:58 PDT 2017


yamaguchi added a comment.

Do you think it is not a good idea to change condition if -MD or -MMD exists?
for example,
if ( !A->getOption().matches(options::OPT_MD) && !A->getOption().matches(options::OPT_MQ)) CmdArgs.push_back("-w");


https://reviews.llvm.org/D32341





More information about the cfe-commits mailing list