[PATCH] Add -Wrange-loop-analysis to warn when a range-based for-loop is creating a copy.

Richard Trieu rtrieu at google.com
Mon Apr 13 15:54:51 PDT 2015


This has been committed with dblaikie's suggestions to drop the const when getting the non-reference type and commenting out the loops which produce errors in the test case.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D4169

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list