Commit Graph

5 Commits

Author SHA1 Message Date
Jordan Rose
a843d9e61b Don't serialize invalid ranges in diagnostics.
No tests because I'm not sure when this ever happens, but it's a good
defensive commit anyway.

<rdar://problem/16414465>

Swift SVN r16841
2014-04-25 20:56:44 +00:00
Dmitri Hrybenko
f232267f23 Replace llvm::OwningPtr with std::unique_ptr
It looks like llvm::OwningPtr is going to be removed soon.


Swift SVN r14729
2014-03-06 09:47:17 +00:00
Jordan Rose
6685f72f3b Use Clang's stable enum values for serialized diagnostics.
A refinement of r14545, which was a response to "remarks" being added to Clang.
This commit requires Clang commit r202733.

Swift SVN r14613
2014-03-03 22:16:06 +00:00
Jordan Rose
3826099df4 Keep serialized diagnostic levels in sync with Clang.
Who would have thought this would ever change? But over in open-source-land,
they're adding "remarks" to the diagnostics (kind of like standalone notes)
and that shifted over the IDs of serialized diagnostics.

Swift SVN r14545
2014-03-01 00:44:13 +00:00
Connor Wakamo
2b3a922aa5 Move SerializedDiagnosticConsumer into swiftFrontend.
This matches where Clang implements its equivalent, and this makes it available to both swift and the new driver.

Swift SVN r10047
2013-11-08 19:26:13 +00:00