This is an archive of the discontinued LLVM Phabricator instance.

[CUDA] Fixed parsing of optional template-argument-list.
ClosedPublic

Authored by tra on Sep 20 2018, 1:00 PM.

Diff Detail

Repository
rC Clang

Event Timeline

tra created this revision.Sep 20 2018, 1:00 PM
rsmith accepted this revision.Sep 21 2018, 10:08 AM
rsmith added inline comments.
clang/lib/Parse/ParseTemplate.cpp
949–950 ↗(On Diff #166350)

It'd be good to include the other tokens that start with > here (which we also split as an extension): tok::greaterequal and tok::greatergreaterequal.

This revision is now accepted and ready to land.Sep 21 2018, 10:08 AM
tra updated this revision to Diff 166509.Sep 21 2018, 10:40 AM

Added '>=' and '>>=' to the list of tokens that may indicate the end of the
empty template argument list.

tra marked an inline comment as done.Sep 21 2018, 10:40 AM
This revision was automatically updated to reflect the committed changes.