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

John Freeman jfreeman at cse.tamu.edu
Fri Nov 11 19:34:08 PST 2011


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.

- John
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: type-qualifiers.patch
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111111/8164dfa3/attachment.ksh>


More information about the cfe-commits mailing list