]> granicus.if.org Git - clang/commit
[hip] Fix ambiguity from `>>>` of CUDA.
authorMichael Liao <michael.hliao@gmail.com>
Wed, 8 May 2019 00:52:33 +0000 (00:52 +0000)
committerMichael Liao <michael.hliao@gmail.com>
Wed, 8 May 2019 00:52:33 +0000 (00:52 +0000)
commit9a67abdb5cdaf8c25f3ecbe66e1d9d171260d3ce
treea5b180bb47692a6805236d4eb82c485f09a4102d
parenta8b30b5bc95743cbf92708df7908d25d795e29e6
[hip] Fix ambiguity from `>>>` of CUDA.

Summary:
- For template arguments ending with `>>>`, we should cease lookahead
  and treat it as type-id firstly, so that deduction could work
  properly.

Reviewers: tra, yaxunl

Subscribers: cfe-commits

Tags: #clang

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

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