[PATCH] D52321: [CUDA] Fixed parsing of optional template-argument-list.

2018-09-21 Thread Artem Belevich via Phabricator via cfe-commits
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

[PATCH] D52321: [CUDA] Fixed parsing of optional template-argument-list.

2018-09-21 Thread Artem Belevich via Phabricator via cfe-commits
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

[PATCH] D52321: [CUDA] Fixed parsing of optional template-argument-list.

2018-09-21 Thread Richard Smith - zygoloid via Phabricator via cfe-commits
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::