[PP] Replace some index based for loops with range based ones
authorErik Verbruggen <erikjv@me.com>
Wed, 26 Oct 2016 13:06:13 +0000 (13:06 +0000)
committerErik Verbruggen <erikjv@me.com>
Wed, 26 Oct 2016 13:06:13 +0000 (13:06 +0000)
commite4fd6522c19040782aed6b5acc218e94034d71e5
tree1ccca3e613a972a428ff8c1a5d578a3f609073d8
parent3f515cd795872e40bcd84ea42d74ec0e812d939a
[PP] Replace some index based for loops with range based ones

While in the area, also change some unsigned variables to size_t, and
introduce an LLVM_FALLTHROUGH instead of a comment stating that.

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

llvm-svn: 285193
clang/lib/Lex/PPCaching.cpp
clang/lib/Lex/PPLexerChange.cpp
clang/lib/Lex/PPMacroExpansion.cpp
clang/lib/Lex/Pragma.cpp
clang/lib/Lex/TokenConcatenation.cpp
clang/lib/Lex/TokenLexer.cpp