forked from OSchip/llvm-project
Silence GCC warning about comparisons between enumerators of different types
llvm-svn: 121486
This commit is contained in:
parent
9b989ec9b1
commit
d672b5c32f
|
@ -3464,7 +3464,7 @@ inline void QualType::removeLocalVolatile() {
|
|||
|
||||
inline void QualType::removeLocalCVRQualifiers(unsigned Mask) {
|
||||
assert(!(Mask & ~Qualifiers::CVRMask) && "mask has non-CVR bits");
|
||||
assert(Qualifiers::CVRMask == Qualifiers::FastMask);
|
||||
assert((int)Qualifiers::CVRMask == (int)Qualifiers::FastMask);
|
||||
|
||||
// Fast path: we don't need to touch the slow qualifiers.
|
||||
removeLocalFastQualifiers(Mask);
|
||||
|
|
Loading…
Reference in New Issue