[all-commits] [llvm/llvm-project] cc3fdd: [pch] Honour -fallow-pch-with-compiler-errors for ...
Ben Langmuir via All-commits
all-commits at lists.llvm.org
Tue Mar 31 13:52:20 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: cc3fddb411d55d4d0902a772a9f3db11fc4f002e
https://github.com/llvm/llvm-project/commit/cc3fddb411d55d4d0902a772a9f3db11fc4f002e
Author: Ben Langmuir <blangmuir at apple.com>
Date: 2020-03-31 (Tue, 31 Mar 2020)
Changed paths:
M clang/lib/Serialization/GeneratePCH.cpp
M clang/test/Index/pch-with-errors.c
Log Message:
-----------
[pch] Honour -fallow-pch-with-compiler-errors for overall compilation status
Previously we would emit a PCH with errors, but fail the overall
compilation. If run using the driver, that would result in removing the
just-produced PCH. Instead, we should have the compilation result match
whether we were able to emit the PCH.
Differential Revision: https://reviews.llvm.org/D77159
rdar://61110294
More information about the All-commits
mailing list