projects
/
clang
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e36988
)
Silence GCC warning about comparisons between enumerators of different types
author
Douglas Gregor
<dgregor@apple.com>
Fri, 10 Dec 2010 15:40:48 +0000
(15:40 +0000)
committer
Douglas Gregor
<dgregor@apple.com>
Fri, 10 Dec 2010 15:40:48 +0000
(15:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121486
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/clang/AST/Type.h
patch
|
blob
|
history
diff --git
a/include/clang/AST/Type.h
b/include/clang/AST/Type.h
index d041a405e28b19a1da1c32ff54d0583adc3ed31c..be23abd095ea35dfe41f6b08dfac1ade95c8c3b3 100644
(file)
--- a/
include/clang/AST/Type.h
+++ b/
include/clang/AST/Type.h
@@
-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);