Skip to content
  1. May 10, 2013
  2. May 09, 2013
    • Richard Smith's avatar
      C++1y n3648: parse and reject init-captures for now. · 21b3ab43
      Richard Smith authored
      llvm-svn: 181553
      21b3ab43
    • David Blaikie's avatar
      DebugInfo: Simply & constrain test(s) for PR9600/PR9608 · 8039fdf4
      David Blaikie authored
      Both these tests were ultimately fixed by the check for
      "isIncompleteType" & neither test case was really reduced to a minimal
      form. On doing so it becomes apparent that the problem wasn't specific
      to templates at all, so I've moved the test case to a more appropriate
      test file and added FileCheck verification to it (to show the forward
      declaration of the array element type as well as the array alignment and
      size being 0 since it cannot be computed). That's about as far down this
      rabbithole as I'm willing to go today, so the rest of the un-FileChecked
      tests in test/CodeGenCXX/debug-info.cpp will have to go another day
      without actually testing anything other than the fact that they don't
      crash.
      
      & improve the actually interesting test case in
      test/CodeGenCXX/debug-info-templates.cpp which was my original goal (in
      preparation for expanding it/fixing some related bugs in non-type
      template parameters)
      
      llvm-svn: 181552
      8039fdf4
    • Dmitri Gribenko's avatar
      Documentation warning: \param, not \parm · f4d5bee6
      Dmitri Gribenko authored
      llvm-svn: 181550
      f4d5bee6
    • Reid Kleckner's avatar
      Add pragma-comment.c test case for r181426 that I forgot to add · b0f459e8
      Reid Kleckner authored
      llvm-svn: 181546
      b0f459e8
    • Dmitri Gribenko's avatar
      ArrayRef'ize some SemaOverload methods · 9c785c21
      Dmitri Gribenko authored
      Patch by Robert Wilhelm.
      
      llvm-svn: 181544
      9c785c21
    • Reid Kleckner's avatar
      [ms-cxxabi] Implement member pointer conversions · 452abac4
      Reid Kleckner authored
      Summary:
      This only supports converting along non-virtual inheritance paths by
      changing the field offset or the non-virtual base adjustment.
      
      This implements three kinds of conversions:
      - codegen for Value conversions
      - Constant emission for APValue
      - Constant folding for CastExprs
      
      In almost all constant initialization settings
      EmitMemberPointer(APValue) is called, except when the expression
      contains a reinterpret cast.
      
      reinterpret casts end up being a big corner case because the null value
      changes between different kinds of member pointers.
      
      Reviewers: rsmith
      
      CC: cfe-commits
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D741
      
      llvm-svn: 181543
      452abac4
    • David Blaikie's avatar
      Debug Info: Remove unnecessary check for dependent array types · f03b2e83
      David Blaikie authored
      This was added, untested (though the relevant crash was tested), in
      r128725/PR9600. Removing it doesn't cause failures & nothing I can
      imagine could cause this check to ever return 'true' (we should never be
      dealing with dependent types here). The subsequent change to check
      "isIncompleteType" (r128855/PR9608) makes a lot more sense.
      
      llvm-svn: 181542
      f03b2e83
    • Ben Langmuir's avatar
      Fix captured statements codegen test on ARM · 0698787d
      Ben Langmuir authored
      The return type of the destructor may vary between platforms, so stop
      inadvertently testing it.
      
      llvm-svn: 181541
      0698787d
    • Ben Langmuir's avatar
      CodeGen for CapturedStmts · 3b4c30b7
      Ben Langmuir authored
      EmitCapturedStmt creates a captured struct containing all of the captured
      variables, and then emits a call to the outlined function.  This is similar in
      principle to EmitBlockLiteral.
      
      GenerateCapturedFunction actually produces the outlined function.  It is based
      on GenerateBlockFunction, but is much simpler.  The function type is determined
      by the parameters that are in the CapturedDecl.
      
      Some changes have been added to this patch that were reviewed as part of the
      serialization patch and moving the parameters to the captured decl.
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D640
      
      llvm-svn: 181536
      3b4c30b7
Loading