Skip to content

Commit 47650dc

Browse files
Revert "[clang-misexpect] Fixed typo which causes that --pgo-warn-misexpect option is not passed in the compiler invocation"
This reverts commit 6d2b75e.
1 parent 1502941 commit 47650dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Frontend/CompilerInvocation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3680,7 +3680,7 @@ bool CompilerInvocation::CreateFromArgs(CompilerInvocation &Res,
36803680
}
36813681
}
36823682

3683-
if (!Diags.isIgnored(diag::warn_profile_data_misexpect, SourceLocation()))
3683+
if (Diags.isIgnored(diag::warn_profile_data_misexpect, SourceLocation()))
36843684
Res.FrontendOpts.LLVMArgs.push_back("-pgo-warn-misexpect");
36853685

36863686
LangOpts.FunctionAlignment =

0 commit comments

Comments
 (0)