[PATCH] Provide fixit if unscoped enumeration is used in nested name specifier. This fixes PR16951.
richard at metafoo.co.uk
Wed Jan 14 17:36:43 PST 2015
This patch does not seem to be correct. Using an enumerator as a nested-name-specifier is a C++11 extension. MSVC enables C++11 by default. The only bug I can see here is that our diagnostic is misworded: in C++11, we should say "%0 is not a class, namespace, or enumeration" (remove the word "scoped"), and in C++98, we should say "%0 is not a class or namespace"
More information about the cfe-commits