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

Richard Trieu rtrieu at google.com
Mon Aug 27 18:32:36 PDT 2012


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120827/629db184/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Qualifiers1.patch
Type: application/octet-stream
Size: 2318 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120827/629db184/attachment.obj>


More information about the cfe-commits mailing list