[PATCH] D61396: [hip] Fix ambiguity from `>>>` of CUDA.

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 7 14:29:38 PDT 2019


rsmith accepted this revision.
rsmith added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang/lib/Parse/ParseTentative.cpp:597
                    NextToken().isOneOf(tok::greater, tok::greatergreater,
+                                       tok::greatergreatergreater,
                                        tok::comma)))))) {
----------------
A test for this case would be nice. Eg:

```
template<typename ...T> void bar() {
  S<S<S<T()...>>> s;
}
```


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61396/new/

https://reviews.llvm.org/D61396





More information about the cfe-commits mailing list