HomePhabricator

[AST] Incorrectly qualified unscoped enumeration as template actual parameter.

Description

[AST] Incorrectly qualified unscoped enumeration as template actual parameter.

An unscoped enumeration used as template argument, should not have any
qualified information about its enclosing scope, as its visibility is
global.

In the case of scoped enumerations, they must include information
about their enclosing scope.

Patch by Carlos Alberto Enciso!

Differential Revision: https://reviews.llvm.org/D39239

Details

Committed
probinsonDec 21 2017, 1:47 PM
Differential Revision
D39239: [AST] Incorrectly qualified unscoped enumeration as template actual parameter.
Branches
Unknown
Tags
Unknown