| commit | d2e6f65b1b068408d0be6740c161dec2f27f8084 | [log] [tgz] |
|---|---|---|
| author | Daniel Jasper <djasper@google.com> | Fri Sep 28 15:45:07 2012 +0000 |
| committer | Daniel Jasper <djasper@google.com> | Fri Sep 28 15:45:07 2012 +0000 |
| tree | dbfa05d1a43e80473c6c702355b9aa43a33b934d | |
| parent | c7d6a2df389d4850d59d9c62ec058caee5b09727 [diff] |
Set Diag.ErrorOccurred even if a DiagnosticConsumer does not want it in diagnostic count. If a DiagnosticConsumer sub-class overwrites IncludeInDiagnosticCounts, this should change diagnostic counts. However, it currently also influences Diag.ErrorOccurred, which in turn influences the behavior of parsing and semantic analysis (in a way that can make it crash). llvm-svn: 164824