[comp.lang.c++] C++ pretty printers for Sun?

warsaw@nlm.nih.gov (Barry A. Warsaw) (12/15/90)

We want to be able to use pretty printers along the lines of the SunOS
commands vgrind, cb, and indent, to standardize the output format of
all the C++ code we are generating (above and beyond our internal
coding standards).  Most development work is happening on Suns using
Sun-C++ (v2.0) which does not come with any kind of C++ varient of
these programs. Conveniently, vgrind does understand the -lC++
language specifier and nicely bolds such words as "new" and "delete",
but cb and indent can't correctly handle such constructs as the //
comment and :: operator.

Short of writing a C++ pretty printer ourselves (erg! :-), does anyone
have any suggestions or know of anthing available, either commercial
product or "free"?  BTW, I've tried playing with .indent.pro a little
bit, but it doesn't look like I can make it do what I want. Any
suggestions are greatly appreciated. Thanks.

-Barry

NAME: Barry A. Warsaw                 USMAIL: National Library of Medicine
TELE: (301) 496-1936                          Lister Hill National Center for
INET: warsaw@nlm.nih.gov                          Biomedical Communications
UUCP: uunet!nlm.nih.gov!warsaw                Information Technology Branch
                                              8600 Rockville Pike
                                              Bldg. 38A, Rm. 7s722
                                              Bethesda, Md.  20894