summaryrefslogtreecommitdiffstats
path: root/include/clang/Frontend/PrecompiledPreamble.h
diff options
context:
space:
mode:
authorBen Langmuir <blangmuir@apple.com>2018-03-23 17:37:27 +0000
committerBen Langmuir <blangmuir@apple.com>2018-03-23 17:37:27 +0000
commite403c97d4e76caa48b2966be37c681a373eb5a5b (patch)
treea85eabafe2ab31d415a6bef212a3dc389c66a179 /include/clang/Frontend/PrecompiledPreamble.h
parentbb7269ae797f282e27e47eb4ebedfa6abe826e9e (diff)
[vfs] Don't bail out after a missing -ivfsoverlay file
This make -ivfsoverlay behave more like other fatal errors (e.g. missing -include file) by skipping the missing file instead of bailing out of the whole compilation. This makes it possible for libclang to still provide some functionallity as well as to correctly produce the fatal error diagnostic (previously we lost the diagnostic in libclang since there was no TU to tie it to). rdar://33385423 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@328337 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/PrecompiledPreamble.h')
-rw-r--r--include/clang/Frontend/PrecompiledPreamble.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/clang/Frontend/PrecompiledPreamble.h b/include/clang/Frontend/PrecompiledPreamble.h
index f1898f573f..aa8fb82f34 100644
--- a/include/clang/Frontend/PrecompiledPreamble.h
+++ b/include/clang/Frontend/PrecompiledPreamble.h
@@ -289,7 +289,6 @@ enum class BuildPreambleError {
PreambleIsEmpty = 1,
CouldntCreateTempFile,
CouldntCreateTargetInfo,
- CouldntCreateVFSOverlay,
BeginSourceFileFailed,
CouldntEmitPCH
};