Make bitmask an unsigned type.

llvm-svn: 192163
This commit is contained in:
Rui Ueyama 2013-10-08 03:59:45 +00:00
parent 7a633b4de5
commit 8b8e5216af
3 changed files with 3 additions and 3 deletions

View File

@ -312,7 +312,7 @@ public:
/// types of nodes in the InputGraph. The resolver state is nothing but a
/// bitmask of various types of states that the resolver handles when adding
/// atoms.
virtual void setResolverState(int32_t resolverState) const;
virtual void setResolverState(uint32_t resolverState) const;
/// @}

View File

@ -76,7 +76,7 @@ bool LinkingContext::createInternalFiles(
return true;
}
void LinkingContext::setResolverState(int32_t state) const {
void LinkingContext::setResolverState(uint32_t state) const {
_currentInputElement->setResolverState(state);
}

View File

@ -74,7 +74,7 @@ private:
void Resolver::doFile(const File &file) {}
void Resolver::handleFile(const File &file) {
int32_t resolverState = Resolver::StateNoChange;
uint32_t resolverState = Resolver::StateNoChange;
doFile(file);
for (const DefinedAtom *atom : file.defined()) {
doDefinedAtom(*atom);