[cfe-commits] [Patch] Minor updates to template type diffing

Richard Trieu rtrieu at google.com
Thu Jun 28 20:09:02 PDT 2012


A few changes to template type diffing.  Originally, the format was
%diff{type is | not | }1,2 but this does not allow enough flexibility for
diagnostic messages.  The new format is %diff{type is $ not $ |see type
tree}1,2.  The text before the pipe is printed with a formatted type string
replacing the $.  If the tree is printed, the text after pipe is used.

One set of diagnostics has been modified to use this.  A test case has been
added which also tests the change from r159386 (keeping bold on for
non-notes).  The internal manual has also been updated for this change.
 After this, a large scale change will be done to the diagnostic texts.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120628/0bfc9627/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: template-diffing-update.patch
Type: application/octet-stream
Size: 7473 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120628/0bfc9627/attachment.obj>


More information about the cfe-commits mailing list