]> granicus.if.org Git - clang/commit
When we load an ASTUnit from command-line arguments, hold on to the
authorDouglas Gregor <dgregor@apple.com>
Tue, 12 Oct 2010 00:50:20 +0000 (00:50 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 12 Oct 2010 00:50:20 +0000 (00:50 +0000)
commit4cd912aa94656697a44c3ebb159f05060300524e
treeeaec37a41189e2a7322c2b634ab41b3bf2f78f0f
parent9c4bb2c08989265411925a04252fd4f93c26e3b1
When we load an ASTUnit from command-line arguments, hold on to the
diagnostics produced by the driver itself. Previously, we were
allowing these to either be dropped or to slip through to stderr.

Fixes <rdar://problem/7595339>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116285 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Frontend/ASTUnit.h
lib/Frontend/ASTUnit.cpp
test/Index/complete-driver-errors.c [new file with mode: 0644]
tools/libclang/CIndexDiagnostic.cpp