[PATCH] D16965: Fix for Bug 14644 - clang confuses scope operator for global namespace giving extra qualification on member

Ryan Yee via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 18 05:59:29 PDT 2016


ryee88 added a comment.

In http://reviews.llvm.org/D16965#377864, @dblaikie wrote:

> Not sure I fully understand the issue with the existing diagnostic/change in wording.
>
> '::' is a nested name specifier, even if it's a degenerate case, I think - so the old wording doesn't seem wrong, as such (& the new text seems correct in the other cases too - should we just switch to that in general rather than having two cases?)


Yes that's the basically the issue raised in the bug report. The error wording for the degenerate nested name specifier is unclear. I'll tinker around with a generic wording.


http://reviews.llvm.org/D16965





More information about the cfe-commits mailing list