]> granicus.if.org Git - clang/commit
[libclang] Allow building a precompiled preamble with compiler errors
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 11 Jun 2013 00:36:55 +0000 (00:36 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 11 Jun 2013 00:36:55 +0000 (00:36 +0000)
commit1f01f7c160c06f8290b4f1c203e36b242074c6b1
tree51feb1fbfbe3bc3f3a070b2784cd65b5ed285f44
parent808ad75e78c6c736a7ddcf2b99e3cf1c02dca0d3
[libclang] Allow building a precompiled preamble with compiler errors

A while ago we allowed libclang to build a PCH that had compiler errors; this was to retain the performance
afforded by a PCH even if the user's code is in an intermediate state.

Extend this for the precompiled preamble as well.

rdar://14109828

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183717 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Frontend/FrontendAction.h
include/clang/Serialization/ASTWriter.h
lib/Frontend/ASTUnit.cpp
lib/Frontend/FrontendAction.cpp
lib/Serialization/GeneratePCH.cpp
test/Index/preamble-reparse-with-BOM.m