Skip to content
  1. May 01, 2009
  2. Apr 30, 2009
  3. Apr 29, 2009
  4. Apr 28, 2009
  5. Apr 27, 2009
  6. Apr 25, 2009
  7. Apr 24, 2009
  8. Apr 22, 2009
  9. Apr 19, 2009
  10. Apr 12, 2009
  11. Apr 11, 2009
  12. Apr 10, 2009
  13. Apr 09, 2009
  14. Apr 07, 2009
  15. Apr 02, 2009
  16. Apr 01, 2009
    • Douglas Gregor's avatar
      Add some examples of Fix-it hints to our documentation · 60f3c959
      Douglas Gregor authored
      llvm-svn: 68210
      60f3c959
    • Douglas Gregor's avatar
      Give Type::getDesugaredType a "for-display" mode that can apply more · 2e0757f3
      Douglas Gregor authored
      heuristics to determine when it's useful to desugar a type for display
      to the user. Introduce two C++-specific heuristics:
      
        - For a qualified type (like "foo::bar"), only produce a new
          desugred type if desugaring the qualified type ("bar", in this
          case) produces something interesting. For example, if "foo::bar"
          refers to a class named "bar", don't desugar. However, if
          "foo::bar" refers to a typedef of something else, desugar to that
          something else. This gives some useful desugaring such as
          "foo::bar (aka 'int')".
        - Don't desugar class template specialization types like
          "basic_string<char>" down to their underlying "class
          basic_string<char, char_traits<char>, allocator<char>>, etc.";
          it's better just to leave such types alone. 
      
      Update diagnostics.html with some discussion and examples of type
      preservation in C++, showing qualified names and class template
      specialization types.
      
      llvm-svn: 68207
      2e0757f3
  17. Mar 31, 2009
  18. Mar 29, 2009
  19. Mar 27, 2009
  20. Mar 24, 2009
  21. Mar 23, 2009
  22. Mar 20, 2009
  23. Mar 19, 2009
Loading