[cfe-commits] [PATCH] Move type qualifier enum to Basic

Eli Friedman eli.friedman at gmail.com
Mon Dec 12 19:15:43 PST 2011


On Fri, Nov 11, 2011 at 7:34 PM, John Freeman <jfreeman at cse.tamu.edu> wrote:
> Small patch to move the type qualifier enum to Basic for sharing between
> Sema (DeclSpec) and AST (Qualifiers).
>
> AST uses a value (CVRMask = Const | Restrict | Volatile) that DeclSpec does
> not, and so the move introduced a warning for the switch in
> DeclSpec::getSpecifierName. I dealt with it by moving the value out of the
> enum and into AST.

This patch looks fine.

-Eli



More information about the cfe-commits mailing list