Skip to content
  1. Mar 11, 2009
  2. Mar 10, 2009
    • Douglas Gregor's avatar
      Partial fix for PR3310, concerning type-checking for tentative · 81457423
      Douglas Gregor authored
      definitions. We were rejecting tentative definitions of incomplete
      (which is bad), and now we don't.
      
      This fix is partial because we don't do the end-of-translation-unit
      initialization for tentative definitions that don't ever have any
      initializers specified.
      
      llvm-svn: 66584
      81457423
    • Devang Patel's avatar
      Emit super class debug info. · c0f58ea6
      Devang Patel authored
      llvm-svn: 66580
      c0f58ea6
    • Daniel Dunbar's avatar
      Driver: Handle magic -ccc- options. · ee66cf22
      Daniel Dunbar authored
       - Follows ccc currently, but this functionality should eventually be
         outside the Driver lib.
      
      llvm-svn: 66575
      ee66cf22
    • Douglas Gregor's avatar
      Extend the notion of active template instantiations to include the · 79cf6034
      Douglas Gregor authored
      context of a template-id for which we need to instantiate default
      template arguments.
      
      In the TextDiagnosticPrinter, don't suppress the caret diagnostic if
      we are producing a non-note diagnostic that follows a note diagnostic
      with the same location, because notes are (conceptually) a part of the
      warning or error that comes before them.
      
      llvm-svn: 66572
      79cf6034
    • Douglas Gregor's avatar
      If we run into multiple errors within the same template instantiation, · 2a72edd4
      Douglas Gregor authored
      only print the template instantiation backtrace for the first error.
      
      Also, if a base class has failed to type-check during instantiation,
      just drop that base class and continue on to check other base classes.
      
      llvm-svn: 66563
      2a72edd4
    • Douglas Gregor's avatar
      Add pretty-printing for class template specializations, e.g., · 65b2c4c3
      Douglas Gregor authored
        'struct A<double, int>'
      
      In the "template instantiation depth exceeded" message, print
      "-ftemplate-depth-N" rather than "-ftemplate-depth=N".
      
      An unnamed tag type that is declared with a typedef, e.g., 
      
        typedef struct { int x, y; } Point;
      
      can be used as a template argument. Allow this, and check that we get
      sensible pretty-printing for such things.
      
      llvm-svn: 66560
      65b2c4c3
    • Douglas Gregor's avatar
      When pretty-printing an anonymous tag type that is associated with a typedef,... · 805dd4ca
      Douglas Gregor authored
      When pretty-printing an anonymous tag type that is associated with a typedef, use the name of the typedef rather than <anonymous>
      
      llvm-svn: 66559
      805dd4ca
    • Douglas Gregor's avatar
      Add a notion of "post-diagnostic hooks", which are callbacks attached · 4ea568f2
      Douglas Gregor authored
      to a diagnostic that will be invoked after the diagnostic (if it is
      not suppressed). The hooks are allowed to produce additional
      diagnostics (typically notes) that provide more information. We should
      be able to use this to help diagnostic clients link notes back to the
      diagnostic they clarify. Comments welcome; I'll write up documentation
      and convert other clients (e.g., overload resolution failures) if
      there are no screams of protest.
      
      As the first client of post-diagnostic hooks, we now produce a
      template instantiation backtrace when a failure occurs during template
      instantiation. There's still more work to do to make this output
      pretty, if that's even possible.
      
      llvm-svn: 66557
      4ea568f2
    • Fariborz Jahanian's avatar
      ir-gen support for class getter/setter call · 156506e7
      Fariborz Jahanian authored
      using property dot-syntax.
      
      llvm-svn: 66556
      156506e7
Loading