]> granicus.if.org Git - clang/commit
[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)
commit057446eb82b598d2737d23c70ed91a33cf9012a0
tree502200fac439d11e35911f98b2e59de2947e2c5d
parent3e252ce1eb96364f4e1a960405eda7fa3d80f081
[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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@342752 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseTemplate.cpp
test/Parser/cuda-kernel-call-c++11.cu
test/Parser/cuda-kernel-call.cu