HomePhabricator

Handle unscoped enumeration in nested name specifier.

Authored by sepavloff on Jan 18 2015, 12:04 PM.

Description

Handle unscoped enumeration in nested name specifier.

If an unscoped enum is used as a nested name specifier and the language dialect
is not C++ 11, issue an extension warning.
This fixes PR16951.

Differential Revision: http://reviews.llvm.org/D6389

llvm-svn: 226413

Details