Remove stale comment.

llvm-svn: 103696
This commit is contained in:
Ted Kremenek 2010-05-13 03:40:51 +00:00
parent d83889bd87
commit 00da2b1546
1 changed files with 0 additions and 2 deletions

View File

@ -1167,8 +1167,6 @@ clang_createTranslationUnitFromSourceFile(CXIndex CIdx,
RemappedFiles.size(),
/*CaptureDiagnostics=*/true));
// FIXME: Until we have broader testing, just drop the entire AST if we
// encountered an error.
if (NumErrors != Diags->getNumErrors()) {
// Make sure to check that 'Unit' is non-NULL.
if (CXXIdx->getDisplayDiagnostics() && Unit.get()) {