forked from OSchip/llvm-project
Shut off an unsigned/signed comparison warning for GCC.
llvm-svn: 58842
This commit is contained in:
parent
86d68a492a
commit
f2ad9491f5
|
@ -118,7 +118,7 @@ public:
|
|||
}
|
||||
void setBuiltinID(unsigned ID) {
|
||||
ObjCOrBuiltinID = ID + tok::NUM_OBJC_KEYWORDS;
|
||||
assert(ObjCOrBuiltinID - tok::NUM_OBJC_KEYWORDS == ID
|
||||
assert(ObjCOrBuiltinID - unsigned(tok::NUM_OBJC_KEYWORDS) == ID
|
||||
&& "ID too large for field!");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue