[PATCH] D91580: [Frontend] Add flag to allow PCM generation despite compiler errors
Argyrios Kyrtzidis via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 17 11:33:03 PST 2020
akyrtzi added a comment.
I'd like if we only had to use one flag (`-fallow-pcm-with-compiler-errors`) and have it handle both modules and PCH. Could you make the flag also work for PCH and/or add a test that verifies it works?
You may only have to change
Opts.AllowPCHWithCompilerErrors = Args.hasArg(OPT_fallow_pch_with_errors);
to
Opts.AllowPCHWithCompilerErrors = Args.hasArg(OPT_fallow_pch_with_errors, OPT_fallow_pcm_with_errors);
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91580/new/
https://reviews.llvm.org/D91580
More information about the cfe-commits
mailing list