Skip to content
  1. Mar 25, 2013
  2. Mar 08, 2013
    • Edwin Vane's avatar
      Extend loop variable naming checks · 3606f550
      Edwin Vane authored
      The loop convert tests for conflicting names have been extended to check for
      macro names, types, and language keywords including language extensions. Tests
      have also been added.
      
      Fixes PR15322
      
      Author: Jack Yang <jack.yang@intel.com>
      Reviewer: gribozavr, klimek, revane
      llvm-svn: 176690
      3606f550
  3. Mar 07, 2013
    • Edwin Vane's avatar
      Have LoopConvert use 'auto &&' where necessary · 4f05d714
      Edwin Vane authored
      For iterators where the dereference operator returns by value, LoopConvert
      should use 'auto &&' in the range-based for loop expression.
      
      If the dereference operator returns an rvalue reference, this is deemed too
      strange and the for loop is not converted.
      
      Moved test case from iterator_failing.cpp to iterator.cpp and added extra
      tests.
      
      Fixes PR15437.
      
      Reviewer: gribozavr
      llvm-svn: 176631
      4f05d714
  4. Mar 04, 2013
  5. Jan 08, 2013
    • Edwin Vane's avatar
      Transferred loop-convert tests to cpp11-migrate · 31896624
      Edwin Vane authored
      - Turned off -count-only tests as they aren't supported in cpp11-migrate
        yet.
      - Updated tests to use new binary name and options to access
        loop-convert transform.
      - Fixed header guards to not use restricted names.
      
      Reviewers: klimek, gribozavr
      llvm-svn: 171852
      31896624
Loading