forked from OSchip/llvm-project
Modify a comment to reflect changes of r183717.
llvm-svn: 183751
This commit is contained in:
parent
555efc36d0
commit
d6f57221c8
|
@ -1634,8 +1634,8 @@ llvm::MemoryBuffer *ASTUnit::getMainBufferWithPrecompiledPreamble(
|
|||
Act->EndSourceFile();
|
||||
|
||||
if (!Act->hasEmittedPreamblePCH()) {
|
||||
// There were errors parsing the preamble, so no precompiled header was
|
||||
// generated. Forget that we even tried.
|
||||
// The preamble PCH failed (e.g. there was a module loading fatal error),
|
||||
// so no precompiled header was generated. Forget that we even tried.
|
||||
// FIXME: Should we leave a note for ourselves to try again?
|
||||
llvm::sys::Path(FrontendOpts.OutputFile).eraseFromDisk();
|
||||
Preamble.clear();
|
||||
|
|
Loading…
Reference in New Issue