Skip to content
  1. Jul 25, 2009
  2. Jul 17, 2009
  3. Jul 16, 2009
    • Ted Kremenek's avatar
      Add member template 'Type::getAs<T>', which converts a Type* to a respective T*. · e3fb4b65
      Ted Kremenek authored
      This method is intended to eventually replace the individual
      Type::getAsXXXType<> methods.
      
      The motivation behind this change is twofold:
      
      1) Reduce redundant implementations of Type::getAsXXXType() methods. Most of
      them are basically copy-and-paste.
      
      2) By centralizing the implementation of the getAs<Type> logic we can more
      smoothly move over to Doug Gregor's proposed canonical type smart pointer
      scheme.
      
      Along with this patch:
      
      a) Removed 'Type::getAsPointerType()'; now clients use getAs<PointerType>.
      b) Removed 'Type::getAsBlockPointerTypE()'; now clients use getAs<BlockPointerType>.
      
      llvm-svn: 76098
      e3fb4b65
  4. Jul 15, 2009
  5. Jul 13, 2009
  6. Jul 08, 2009
  7. Jun 06, 2009
    • Mike Stump's avatar
      As an optimization, we maintain a cache of generated · cbc2bcaf
      Mike Stump authored
      ___Block_byref_id_object_dispose and ___Block_byref_id_object_copy
      functions so that we can simply reuse instead of creating a new one.
      Additionally, add an assert to ensure no one yet tries to align a
      __block variable beyond the alignment of a pointer as the codegen is
      incomplete.
      
      llvm-svn: 72974
      cbc2bcaf
  8. May 16, 2009
  9. May 13, 2009
  10. May 01, 2009
  11. Apr 23, 2009
  12. Apr 17, 2009
  13. Apr 16, 2009
  14. Apr 15, 2009
  15. Apr 14, 2009
    • Daniel Dunbar's avatar
      Audit __private_extern__ handling. · 0ca16601
      Daniel Dunbar authored
       - Exposed quite a few Sema issues and a CodeGen crash.
      
       - See FIXMEs in test case, and in SemaDecl.cpp (PR3983).
      
      I'm skeptical that __private_extern__ should actually be a storage
      class value. I think that __private_extern__ basically amounts to
        extern A __attribute__((visibility("hidden")))
      and would be better off handled (a) as that, or (b) with an extra bit
      in the VarDecl.
      
      llvm-svn: 69020
      0ca16601
  16. Apr 11, 2009
  17. Apr 10, 2009
  18. Apr 09, 2009
  19. Apr 08, 2009
  20. Apr 07, 2009
  21. Apr 01, 2009
  22. Mar 28, 2009
  23. Mar 25, 2009
  24. Mar 21, 2009
  25. Mar 20, 2009
  26. Mar 14, 2009
  27. Mar 13, 2009
  28. Mar 12, 2009
  29. Mar 07, 2009
Loading