Skip to content
  1. Jun 30, 2009
    • Argyrios Kyrtzidis's avatar
      Remove the ASTContext parameter from the getBody() methods of Decl and subclasses. · ddcd132a
      Argyrios Kyrtzidis authored
      Timings showed no significant difference before and after the commit.
      
      llvm-svn: 74504
      ddcd132a
    • Argyrios Kyrtzidis's avatar
      Remove the ASTContext parameter from the attribute-related methods of Decl. · b4b64ca7
      Argyrios Kyrtzidis authored
      The implementations of these methods can Use Decl::getASTContext() to get the ASTContext.
      
      This commit touches a lot of files since call sites for these methods are everywhere.
      I used pre-tokenized "carbon.h" and "cocoa.h" headers to do some timings, and there was no real time difference between before the commit and after it.
      
      llvm-svn: 74501
      b4b64ca7
    • Chris Lattner's avatar
      Key decisions about 'bool' vs '_Bool' to be based on a new flag in langoptions. · c61089a6
      Chris Lattner authored
      This is simple enough, but then I thought it would be nice to make PrintingPolicy
      get a LangOptions so that various things can key off "bool" and "C++" independently.
      This spiraled out of control.  There are many fixme's, but I think things are slightly
      better than they were before.
      
      One thing that can be improved: CFG should probably have an ASTContext pointer in it,
      which would simplify its clients.
      
      llvm-svn: 74493
      c61089a6
    • Douglas Gregor's avatar
      Improve code generation for function template specializations: · e8925dbc
      Douglas Gregor authored
        - Track implicit instantiations vs. the not-yet-supported explicit
        specializations
        - Give implicit instantiations of function templates (and member
        functions of class templates) linkonce_odr linkage.
        - Improve name mangling for function template specializations,
        including the template arguments of the instantiation and the return
        type of the function.
      
      Note that our name-mangling is improved, but not correct: we still
      don't mangle substitutions, although the manglings we produce can be
      demangled.
      
      llvm-svn: 74466
      e8925dbc
  2. Jun 29, 2009
  3. Jun 28, 2009
  4. Jun 26, 2009
  5. Jun 24, 2009
  6. Jun 23, 2009
  7. Jun 20, 2009
  8. Jun 18, 2009
  9. Jun 17, 2009
  10. Jun 16, 2009
  11. Jun 15, 2009
    • Chris Lattner's avatar
      "GCC emits an __objc_class_name_{classname} symbol for every class, and a... · c7d2bfac
      Chris Lattner authored
      "GCC emits an __objc_class_name_{classname} symbol for every class, and a corresponding reference to this symbol for every compilation unit that references the class.  This causes linker errors when you try linking a program which references some classes but doesn't define them.  The attached patch implements this support in clang, so you can compile a class with clang, reference it in a file compiled with GCC, and have it all work correctly."
      
      Patch by David Chisnall!
      
      llvm-svn: 73364
      c7d2bfac
  12. Jun 14, 2009
  13. Jun 13, 2009
  14. Jun 11, 2009
  15. Jun 10, 2009
  16. Jun 07, 2009
  17. Jun 06, 2009
Loading