[PATCH] D59603: [PR40707][PR41011][OpenCL] Allow addr space spelling without double underscore in C++ mode

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 21 04:43:15 PDT 2019


Anastasia added a comment.

In D59603#1436794 <https://reviews.llvm.org/D59603#1436794>, @keryell wrote:

> I was a little bit worried about
>
>   struct top_level { int i; };
>  
>   private ::top_level a;
>  
>
>
> but it should be fine because in that case we have a `tok::coloncolon`


Yes, indeed. It parses correctly. I updated the test to demonstrate. :)


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

https://reviews.llvm.org/D59603





More information about the cfe-commits mailing list