Skip to content
  1. Jan 11, 2011
  2. Jan 10, 2011
  3. Jan 09, 2011
  4. Jan 08, 2011
  5. Jan 07, 2011
    • John McCall's avatar
      Rework a few things about how we emit ObjC's for enumeration statement. · 1c926b78
      John McCall authored
      In particular, the iteration variable (if present) should be created and
      destroyed in a narrow span around the loop body, and the body should
      be emitted in a cleanup scope in case it's not a compound statement.
      Otherwise, rename a few variables and use phis instead of temporary
      variables for the index and buffer count.
      
      llvm-svn: 122988
      1c926b78
  6. Jan 06, 2011
    • John McCall's avatar
      Introduce an AttributedType, but don't actually use it anywhere yet. · 8190451d
      John McCall authored
      The initial TreeTransform is a cop-out, but it's more-or-less equivalent
      to what we were doing before, or rather what we're doing now and might
      eventually stop doing in favor of using this type.
      I am simultaneously intrigued by the possibilities of rebuilding a
      dependent Attri
      
      llvm-svn: 122942
      8190451d
  7. Jan 05, 2011
    • Douglas Gregor's avatar
      Replace the representation of template template argument pack · e4ff4b56
      Douglas Gregor authored
      expansions with something that is easier to use correctly: a new
      template argment kind, rather than a bit on an existing kind. Update
      all of the switch statements that deal with template arguments, fixing
      a few latent bugs in the process. I"m happy with this representation,
      now.
      
      And, oh look! Template instantiation and deduction work for template
      template argument pack expansions.
      
      llvm-svn: 122896
      e4ff4b56
    • Chris Lattner's avatar
      fix a -Wself-assign warning · 63c41a24
      Chris Lattner authored
      llvm-svn: 122894
      63c41a24
    • John McCall's avatar
      Refactor the application of type attributes so that attributes from · 3882ace2
      John McCall authored
      the declaration-specifiers and on the declarator itself are moved
      to the appropriate declarator chunk.  This permits a greatly
      simplified model for how to apply these attributes, as well as
      allowing a much more efficient query for the GC attribute.
      Now all qualifier queries follow the same basic strategy of
      "local qualifiers, local qualifiers on the canonical type,
      then look through arrays".  This can be easily optimized by
      changing the canonical qualified-array-type representation.
      
      Do not process type attributes as decl attributes on declarations
      with declarators.
      
      When computing the type of a block, synthesize a prototype
      function declarator chunk if the decl-spec type was not a
      function.  This simplifies the logic for building block signatures.
      
      Change the logic which inserts an objc_read_weak on a block
      literal to only fire if the block has a __weak __block variable,
      rather than if the return type of the block is __weak qualified,
      which is not actually a sensible thing to ask.
      
      llvm-svn: 122871
      3882ace2
  8. Jan 04, 2011
  9. Jan 03, 2011
  10. Jan 02, 2011
  11. Jan 01, 2011
  12. Dec 30, 2010
  13. Dec 26, 2010
  14. Dec 20, 2010
    • Douglas Gregor's avatar
      Introduce a new type, PackExpansionType, to capture types that are · d2fa766a
      Douglas Gregor authored
      pack expansions, e.g. given
      
        template<typename... Types> struct tuple;
      
        template<typename... Types>
        struct tuple_of_refs {
          typedef tuple<Types&...> types;
        };
      
      the type of the "types" typedef is a PackExpansionType whose pattern
      is Types&. 
      
      This commit introduces support for creating pack expansions for
      template type arguments, as above, but not for any other kind of pack
      expansion, nor for any form of instantiation.
      
      llvm-svn: 122223
      d2fa766a
  15. Dec 19, 2010
  16. Dec 17, 2010
  17. Dec 16, 2010
  18. Dec 15, 2010
  19. Dec 14, 2010
  20. Dec 11, 2010
  21. Dec 10, 2010
  22. Dec 09, 2010
Loading