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 | cae9ab1a8af46643f8cf89399c9ccfb28fba0c36 (patch) | |
tree | 4088411282c55e7d9f1feac38886065a2af39fa0 /lib/CodeGen/CGObjCMac.cpp | |
parent | f54a61454e548fff63d6ce5700ecc2958297207e (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142069 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGObjCMac.cpp')
0 files changed, 0 insertions, 0 deletions