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