summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/ASTUnit.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-06-11 16:42:34 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-06-11 16:42:34 +0000
commitd6f57221c8236a22dc885511a5ea80db69e8153f (patch)
tree05cb998ee36bf8b66bd6a8840c8a6cfed069dcb9 /clang/lib/Frontend/ASTUnit.cpp
parent555efc36d08b07e65e2aba65c91fcaec63834c29 (diff)
downloadbcm5719-llvm-d6f57221c8236a22dc885511a5ea80db69e8153f.tar.gz
bcm5719-llvm-d6f57221c8236a22dc885511a5ea80db69e8153f.zip
Modify a comment to reflect changes of r183717.
llvm-svn: 183751
Diffstat (limited to 'clang/lib/Frontend/ASTUnit.cpp')
-rw-r--r--clang/lib/Frontend/ASTUnit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/ASTUnit.cpp b/clang/lib/Frontend/ASTUnit.cpp
index c72e4eb3c59..03279ef42fd 100644
--- a/clang/lib/Frontend/ASTUnit.cpp
+++ b/clang/lib/Frontend/ASTUnit.cpp
@@ -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();
OpenPOWER on IntegriCloud