[PATCH] D25982: [PP] Replace some index based for loops with range based ones

Erik Verbruggen via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 26 04:43:15 PDT 2016


erikjv created this revision.
erikjv added a reviewer: bkramer.
erikjv added a subscriber: cfe-commits.
Herald added subscribers: anna, nemanjai.

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


https://reviews.llvm.org/D25982

Files:
  lib/Lex/PPCaching.cpp
  lib/Lex/PPLexerChange.cpp
  lib/Lex/PPMacroExpansion.cpp
  lib/Lex/Pragma.cpp
  lib/Lex/TokenConcatenation.cpp
  lib/Lex/TokenLexer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25982.75852.patch
Type: text/x-patch
Size: 6605 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161026/c1993c15/attachment.bin>


More information about the cfe-commits mailing list