Commit Graph

3 Commits

Author SHA1 Message Date
Doug Gregor
823c24b355 [SE-0112] Rename ErrorProtocol to Error.
This is bullet (5) of the proposed solution in SE-0112, and the last
major piece to be implemented.
2016-07-12 10:53:52 -07:00
Chris Lattner
2f4bec9e8c subsume the "startsWithGreater" logic into skipUntilGreaterInTypeList, and make sure skipUntilGreaterInTypeList return a valid location even in the case of parse errors. This ensures that we form a valid source range. Also, improve parseExprIdentifier() to handle the case when skipUntilGreaterInTypeList returns an empty archetype argument list. This fixes a couple of compiler crashers. 2016-01-09 20:36:05 -08:00
Chris Lattner
f796899123 subsume the "startsWithGreater" logic into skipUntilGreaterInTypeList, and
make sure skipUntilGreaterInTypeList return a valid location even in the case
of parse errors.  This ensures that we form a valid source range.  Also,
improve parseExprIdentifier() to handle the case when skipUntilGreaterInTypeList
returns an empty archetype argument list.  This fixes a couple of compiler
crashers.
2016-01-09 20:36:05 -08:00