Skip to content
  1. Jan 07, 2014
  2. Jan 06, 2014
  3. Jan 04, 2014
  4. Jan 03, 2014
  5. Jan 02, 2014
  6. Jan 01, 2014
    • Alp Toker's avatar
      Eliminate UnaryTypeTraitExpr · 95e7ff2e
      Alp Toker authored
      Remove UnaryTypeTraitExpr and switch all remaining type trait related handling
      over to TypeTraitExpr.
      
      The UTT/BTT/TT enum prefix and evaluation code is retained pending further
      cleanup.
      
      This is part of the ongoing work to unify type traits following the removal of
      BinaryTypeTraitExpr in r197273.
      
      llvm-svn: 198271
      95e7ff2e
  7. Dec 28, 2013
  8. Dec 27, 2013
  9. Dec 23, 2013
  10. Dec 21, 2013
    • Alp Toker's avatar
      Fix getCustomDiagID() usage in CodeGen and TextDiagnosticBuffer · bc043f27
      Alp Toker authored
      DiagIDs are a cached resource generally only constructed from compile-time
      constant or stable format strings.
      
      Escaping arbitrary messages and constructing DiagIDs from them didn't make
      sense.
      
      llvm-svn: 197856
      bc043f27
    • Reid Kleckner's avatar
      Eliminate the ItaniumVTableContext object from CodeGenVTables · b60a3d5b
      Reid Kleckner authored
      Now CodeGenVTables has only one VTableContext object, which is either
      Itanium or Microsoft.
      
      Fixes a FIXME with no functionality change intended.
      
      Ideally we could avoid the downcasts by pushing the things that
      reference the Itanium vtable context into ItaniumCXXABI.cpp, but we're
      not there yet.
      
      llvm-svn: 197845
      b60a3d5b
    • David Blaikie's avatar
      DebugInfo: Do not include implicit members (implicit special members, template... · 3275dc45
      David Blaikie authored
      DebugInfo: Do not include implicit members (implicit special members, template instantiations, etc) in the list of members of a structure.
      
      These members will still be lazily added to the relevant DWARF DIEs in
      LLVM but when enumerating the members they will not appear. This allows
      DWARF type units to be more consistent - the type unit will never
      contain these special members (so all instances of the type should have
      the same DIEs without some having some special members and others having
      others) and the special members will be added to the skeletal
      declaration that appears in the relevant compile_unit.
      
      llvm-svn: 197844
      3275dc45
  11. Dec 20, 2013
  12. Dec 19, 2013
  13. Dec 18, 2013
  14. Dec 17, 2013
  15. Dec 16, 2013
  16. Dec 14, 2013
    • Faisal Vali's avatar
      Quick-Fix pointer arithmetic when performing multi-D new-array initialization. · 57ae056a
      Faisal Vali authored
      clang still doesn't emit the right llvm code when initializing multi-D arrays it seems.
      
      For e.g. the following code would still crash for me on Windows 7, 64 bit:
      
      auto f4 = new int[100][200][300]{{{1,2,3}, {4, 5, 6}}, {{10, 20, 30}}};
      
      It seems that the final new loop that iterates through each outermost array and memsets it to zero gets confused with its final ptr arithmetic.
      
      This patch ensures that it converts the pointer to the allocated type (int [200][300]) before incrementing it (instead of using the base type: 'int').
      
      Richard somewhat squeamishly approved the patch (as a quick fix to potentially make it into 3.4) - while exhorting for a more optimized fix in the future. http://llvm-reviews.chandlerc.com/D2398
       
      Thanks Richard!
      
      llvm-svn: 197294
      57ae056a
  17. Dec 13, 2013
    • Alp Toker's avatar
      Eliminate BinaryTypeTraitExpr · cbb9034e
      Alp Toker authored
      There's nothing special about type traits accepting two arguments.
      
      This commit eliminates BinaryTypeTraitExpr and switches all related handling
      over to TypeTraitExpr.
      
      Also fixes a CodeGen failure with variadic type traits appearing in a
      non-constant expression.
      
      The BTT/TT prefix and evaluation code is retained as-is for now but will soon
      be further cleaned up.
      
      This is part of the ongoing work to unify type traits.
      
      llvm-svn: 197273
      cbb9034e
Loading