This is an archive of the discontinued LLVM Phabricator instance.

Change type from auto to size_t to fix warning.
ClosedPublic

Authored by dsinclair on Jan 9 2015, 11:10 AM.

Details

Summary

The GetNumIVars() call returns a size_t, there is currently a warning being issue that it is being compared to int. It looks like the auto is getting type int. This CL makes it explicit that we're iterating over things of type size_t.

Diff Detail

Repository
rL LLVM

Event Timeline

dsinclair updated this revision to Diff 17936.Jan 9 2015, 11:10 AM
dsinclair retitled this revision from to Change type from auto to size_t to fix warning..
dsinclair updated this object.
dsinclair edited the test plan for this revision. (Show Details)
dsinclair added a subscriber: Unknown Object (MLST).

lgtm, do you have commit access?

No, no commit access.

zturner accepted this revision.Jan 9 2015, 12:01 PM
zturner added a reviewer: zturner.
This revision is now accepted and ready to land.Jan 9 2015, 12:01 PM
This revision was automatically updated to reflect the committed changes.