Skip to content
  1. Mar 25, 2013
  2. 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
  3. Mar 04, 2013
    • Edwin Vane's avatar
      Adding failing LoopConvert testcase · 529e3c7c
      Edwin Vane authored
          
      LoopConvert isn't properly handling iterators whose dereference operator
      returns by value. This test case demonstrates the failure.
      
      See PR15437.
      
      llvm-svn: 176437
      529e3c7c
  4. 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