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.
This commit is contained in:
Chris Lattner
2016-01-09 20:34:11 -08:00
parent 926adfe7e4
commit f796899123
2 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
// RUN: not --crash %target-sil-opt %s
C<@convention()>{