Skip to content
  1. Feb 25, 2012
  2. Feb 24, 2012
  3. Feb 23, 2012
  4. Feb 22, 2012
  5. Feb 21, 2012
  6. Feb 20, 2012
  7. Feb 19, 2012
  8. Feb 18, 2012
  9. Feb 17, 2012
    • Richard Smith's avatar
      Don't emit optimization-specific intrinsic at -O0. · 132bea96
      Richard Smith authored
      llvm-svn: 150838
      132bea96
    • Sebastian Redl's avatar
      Basic code generation support for std::initializer_list. · c83ed824
      Sebastian Redl authored
      We now generate temporary arrays to back std::initializer_list objects
      initialized with braces. The initializer_list is then made to point at
      the array. We support both ptr+size and start+end forms, although
      the latter is untested.
      
      Array lifetime is correct for temporary std::initializer_lists (e.g.
      call arguments) and local variables. It is untested for new expressions
      and member initializers.
      
      Things left to do:
      Massively increase the amount of testing. I need to write tests for
      start+end init lists, temporary objects created as a side effect of
      initializing init list objects, new expressions, member initialization,
      creation of temporary objects (e.g. std::vector) for initializer lists,
      and probably more.
      Get lifetime "right" for member initializers and new expressions. Not
      that either are very useful.
      Implement list-initialization of array new expressions.
      
      llvm-svn: 150803
      c83ed824
Loading