diff options
author | Dávid Bolvanský <david.bolvansky@gmail.com> | 2020-05-19 23:20:54 +0200 |
---|---|---|
committer | Dávid Bolvanský <david.bolvansky@gmail.com> | 2020-05-19 23:20:54 +0200 |
commit | 47650dcbeee215f48277ed8bea5f0e43cbf125fc (patch) | |
tree | 5ee97c110df5d576eeba8343394589949d2e39c6 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 1502941c1c025fc5cdef63a1f6e54a68c2cf49d6 (diff) | |
download | llvm-47650dcbeee215f48277ed8bea5f0e43cbf125fc.zip llvm-47650dcbeee215f48277ed8bea5f0e43cbf125fc.tar.gz llvm-47650dcbeee215f48277ed8bea5f0e43cbf125fc.tar.bz2 |
Revert "[clang-misexpect] Fixed typo which causes that --pgo-warn-misexpect option is not passed in the compiler invocation"
This reverts commit 6d2b75e0887ee87e247756c4d51733616bb2f356.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 5496df7..94ba0dd 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 = |