]> granicus.if.org Git - clang/commit
When using a precompiled preamble, save the diagnostics produced when
authorDouglas Gregor <dgregor@apple.com>
Mon, 2 Aug 2010 20:51:39 +0000 (20:51 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 2 Aug 2010 20:51:39 +0000 (20:51 +0000)
commitc0659ec614c428c7d15746fcad15d50a2703751d
tree071e1a3bc48682118b72177594b3ee885b829ed4
parentfe97fa141d90e5fbcb18a988bb5d72739d397b6c
When using a precompiled preamble, save the diagnostics produced when
creating the preamble and "replay" them when reusing the
preamble. Also, fix a thinko in the copying of the preamble when
building the precompiled preamble.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110061 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Diagnostic.h
include/clang/Frontend/ASTUnit.h
lib/Frontend/ASTUnit.cpp
test/Index/Inputs/preamble.h
test/Index/preamble.c