[PATCH] D66324: clang-misexpect: Profile Guided Validation of Performance Annotations in LLVM

Wenju He via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 24 00:45:16 PDT 2019


wenju added a comment.

We see error "clang (LLVM option parsing): for the   --pgo-warn-misexpect option: may only occur zero or one times!" when clang::CompilerInvocation::CreateFromArgs and clang::ExecuteCompilerInvocation are called twice.

This line: if (Diags.isIgnored(diag::warn_profile_data_misexpect, SourceLocation()))
I think it should be !Diags.isIgnored.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66324/new/

https://reviews.llvm.org/D66324





More information about the cfe-commits mailing list