This revision was automatically updated to reflect the committed changes.
Closed by commit rC342752: [CUDA] Fixed parsing of optional
template-argument-list. (authored by tra, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D52321?vs=166509&id=166512#toc
Repository:
rC Clan
tra updated this revision to Diff 166509.
tra added a comment.
Added '>=' and '>>=' to the list of tokens that may indicate the end of the
empty template argument list.
https://reviews.llvm.org/D52321
Files:
clang/lib/Parse/ParseTemplate.cpp
clang/test/Parser/cuda-kernel-call-c++11.cu
cla
rsmith accepted this revision.
rsmith added inline comments.
This revision is now accepted and ready to land.
Comment at: clang/lib/Parse/ParseTemplate.cpp:949-950
GreaterThanIsOperatorScope G(GreaterThanIsOperator, false);
-if (Tok.isNot(tok::greater) && Tok.isNot(tok::