[cfe-commits] [Patch] New functions for Qualifiers, removeQualifiers and removeCommonQualifiers

Douglas Gregor dgregor at apple.com
Mon Sep 10 23:07:14 PDT 2012


These look fine.

On Aug 27, 2012, at 6:32 PM, Richard Trieu <rtrieu at google.com> wrote:

> Two additional functions for Qualifiers.  These were pulled from the template type diffing patch.
> 
> void removeQualifiers(Qualifiers Q) removes the qualifiers in Q from the current Qualifiers.  This will replace the underlying implementation of operator- and operator-=, which currently only performs bit masking.
> 
> static Qualifiers removeCommonQualifiers(Qualifiers &L, Qualifiers &R) removes any qualifiers in common between L and R.  These qualifiers are used to create a new Qualifier which is returned.  This will be unused until the changes for template type diffing are checked in.
> <Qualifiers1.patch>_______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits




More information about the cfe-commits mailing list