aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorBen Barham <ben_barham@apple.com>2021-02-03 22:02:29 -0800
committerArgyrios Kyrtzidis <kyrtzidis@apple.com>2021-02-03 22:06:46 -0800
commita2c1054c303f20be006e9ef20739dbb88bd9ae02 (patch)
treecf3ad281e96ffe1ac5717334b4f0ed4ef328c56d /clang/lib/Frontend/CompilerInvocation.cpp
parentb42ccdf38fe3d04765d1c265b4819c045d451e09 (diff)
downloadllvm-a2c1054c303f20be006e9ef20739dbb88bd9ae02.zip
llvm-a2c1054c303f20be006e9ef20739dbb88bd9ae02.tar.gz
llvm-a2c1054c303f20be006e9ef20739dbb88bd9ae02.tar.bz2
[ASTReader] Always rebuild a cached module that has errors
A module in the cache with an error should just be a cache miss. If allowing errors (with -fallow-pcm-with-compiler-errors), a rebuild is needed so that the appropriate diagnostics are output and in case search paths have changed. If not allowing errors, the module was built *allowing* errors and thus should be rebuilt regardless. Reviewed By: akyrtzi Differential Revision: https://reviews.llvm.org/D95989
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions