[PATCH] D156320: [Flang][Driver] Add support for Rpass and related options
Andrzej Warzynski via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 9 08:00:10 PDT 2023
awarzynski added inline comments.
================
Comment at: flang/lib/Frontend/CompilerInvocation.cpp:173-174
+ if (!result.Regex->isValid(regexError)) {
+ diags.Report(clang::diag::err_drv_optimization_remark_pattern)
+ << regexError << a->getAsString(args);
+ return false;
----------------
Could you add a test to exercise this diagnostic?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156320/new/
https://reviews.llvm.org/D156320
More information about the cfe-commits
mailing list