[CUDA] Fixed parsing of optional template-argument-list.
authorArtem Belevich <tra@google.com>
Fri, 21 Sep 2018 17:46:28 +0000 (17:46 +0000)
committerArtem Belevich <tra@google.com>
Fri, 21 Sep 2018 17:46:28 +0000 (17:46 +0000)
commit2eeb0489054888b580f4b0ccf54e2df34c4a91d9
tree7ec238ff6f09a0dee5762ab61b6a777db80a69fc
parent5805def9c8ee4dbb9cce9f6696dc1c22c4b247b9
[CUDA] Fixed parsing of optional template-argument-list.

We need to consider all tokens that start with '>' when
we're checking for the end of an empty template argument list.

Differential Revision: https://reviews.llvm.org/D52321

llvm-svn: 342752
clang/lib/Parse/ParseTemplate.cpp
clang/test/Parser/cuda-kernel-call-c++11.cu
clang/test/Parser/cuda-kernel-call.cu