aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDávid Bolvanský <david.bolvansky@gmail.com>2020-05-19 23:20:54 +0200
committerDávid Bolvanský <david.bolvansky@gmail.com>2020-05-19 23:20:54 +0200
commit47650dcbeee215f48277ed8bea5f0e43cbf125fc (patch)
tree5ee97c110df5d576eeba8343394589949d2e39c6 /clang/lib/Frontend/CompilerInvocation.cpp
parent1502941c1c025fc5cdef63a1f6e54a68c2cf49d6 (diff)
downloadllvm-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.cpp2
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 =