diff options
author | Richard Trieu <rtrieu@google.com> | 2012-09-12 23:13:31 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2012-09-12 23:13:31 +0000 |
commit | e6f18c3e6a28229b5871007858b8c30882494b09 (patch) | |
tree | a1066448a398a88079d11df446d9897f63ce1b9f /lib/Analysis/FormatString.cpp | |
parent | 1fa1e0cbf91de6f9a23fc2940e3eca4bc7d99589 (diff) |
Add two new functions to Qualifiers.
static Qualifiers removeCommonQualifiers(Qualifiers &L, Qualifiers &R)
Removes the common qualifiers from L and R and returns them in a new Qualifier.
This will be used in template diffing.
void removeQualifiers(Qualifiers Q)
Removes the qualifiers in Q from the current qualifier.
This replaces the current underlying implementation of operator- and
operator -= which only performed bit masking.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163752 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/FormatString.cpp')
0 files changed, 0 insertions, 0 deletions