]> granicus.if.org Git - clang/commit
[PP] Replace some uses of unsigned with size_t
authorErik Verbruggen <erikjv@me.com>
Wed, 26 Oct 2016 09:58:31 +0000 (09:58 +0000)
committerErik Verbruggen <erikjv@me.com>
Wed, 26 Oct 2016 09:58:31 +0000 (09:58 +0000)
commitc9824955f111361cb3ba9807ad045580bb733765
tree472defb1de32b588241f96eadbf9723087331737
parent16273dae45b01708fd9d554768f1a0bf62e95600
[PP] Replace some uses of unsigned with size_t

All values are returned by a method as size_t, and subsequently passed
to functions taking a size_t, or used where a size_t is also valid.
Better still, two loops (which had an unsigned), can be replaced by
a range-based for loop.

Differential Revision: http://reviews.llvm.org/D25939

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@285182 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/PPDirectives.cpp