diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2011-10-15 12:07:47 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2011-10-15 12:07:47 +0000 |
| commit | 636b2501bbe97472ba348892e69f19e4ef2da6c8 (patch) | |
| tree | 657fc7f366e08f08235b6b2d4ea1a6979d552294 /clang/lib/CodeGen/CGCXXABI.cpp | |
| parent | 3d262187f600f6051a95a9b8f29d8ad3bc6d4267 (diff) | |
| download | bcm5719-llvm-636b2501bbe97472ba348892e69f19e4ef2da6c8.tar.gz bcm5719-llvm-636b2501bbe97472ba348892e69f19e4ef2da6c8.zip | |
Sink the include stack printing into the generic text diagnostic
utility. This is a particularly nice win because it removes a pile of
parameters from these routines. Also name them a bit better. I'm trying
to follow the pattern of 'emit' routines writing directly to what is
expected to be the final output, while 'print' routines take a output
stream argument and can be used to build up intermediate buffers, etc.
Also, fix a bug I spotted by inspection from my last commit where
'LastLoc' and 'LastNonNoteLoc' were reversed. It's really scary that
this didn't trigger a single test failure. Will be working on tests for
more of this functionality now.
llvm-svn: 142069
Diffstat (limited to 'clang/lib/CodeGen/CGCXXABI.cpp')
0 files changed, 0 insertions, 0 deletions

