[cfe-commits] r68207 - in /cfe/trunk: include/clang/AST/Type.h lib/AST/Type.cpp lib/Sema/Sema.cpp test/SemaCXX/qualified-names-diag.cpp test/SemaTemplate/qualified-names-diag.cpp www/diagnostics.html

Chris Lattner clattner at apple.com
Wed Apr 1 21:36:06 PDT 2009


On Apr 1, 2009, at 8:47 AM, Douglas Gregor wrote:
> URL: http://llvm.org/viewvc/llvm-project?rev=68207&view=rev
> Log:
> Give Type::getDesugaredType a "for-display" mode that can apply more
> heuristics to determine when it's useful to desugar a type for display
> to the user. Introduce two C++-specific heuristics:

This is really nice Doug, however putting this logic *into*  
getDesugaredType seems wrong.  Would it be possible to hoist the logic  
up into ConvertArgToStringFn like we do for vectors and ObjC types?

-Chris




More information about the cfe-commits mailing list