Skip to content
Commit d2e6f65b authored by Daniel Jasper's avatar Daniel Jasper
Browse files

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
parent c7d6a2df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment