This breaks check-clang: http://45.33.8.238/linux/18098/step_7.txt
Please take a look, and revert if it takes a while to fix. On Tue, May 19, 2020 at 5:12 PM Dávid Bolvanský via cfe-commits < cfe-commits@lists.llvm.org> wrote: > > Author: Dávid Bolvanský > Date: 2020-05-19T23:12:08+02:00 > New Revision: 6d2b75e0887ee87e247756c4d51733616bb2f356 > > URL: > https://github.com/llvm/llvm-project/commit/6d2b75e0887ee87e247756c4d51733616bb2f356 > DIFF: > https://github.com/llvm/llvm-project/commit/6d2b75e0887ee87e247756c4d51733616bb2f356.diff > > LOG: [clang-misexpect] Fixed typo which causes that --pgo-warn-misexpect > option is not passed in the compiler invocation > > Added: > > > Modified: > clang/lib/Frontend/CompilerInvocation.cpp > > Removed: > > > > > ################################################################################ > diff --git a/clang/lib/Frontend/CompilerInvocation.cpp > b/clang/lib/Frontend/CompilerInvocation.cpp > index 94ba0dd8e598..5496df79dbfb 100644 > --- a/clang/lib/Frontend/CompilerInvocation.cpp > +++ b/clang/lib/Frontend/CompilerInvocation.cpp > @@ -3680,7 +3680,7 @@ bool > CompilerInvocation::CreateFromArgs(CompilerInvocation &Res, > } > } > > - if (Diags.isIgnored(diag::warn_profile_data_misexpect, > SourceLocation())) > + if (!Diags.isIgnored(diag::warn_profile_data_misexpect, > SourceLocation())) > Res.FrontendOpts.LLVMArgs.push_back("-pgo-warn-misexpect"); > > LangOpts.FunctionAlignment = > > > > _______________________________________________ > cfe-commits mailing list > cfe-commits@lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits >
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits