summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/BackendUtil.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-01-12 11:30:46 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-01-12 11:30:46 +0000
commit9d805139bdf016787c4d66619b17a2fff2c5392c (patch)
tree22e3dadb68961cff98013382789a4c3549d797a8 /clang/lib/CodeGen/BackendUtil.cpp
parent3dd261d0c94d949b75e82cd581a0b5cd50aee9b6 (diff)
downloadbcm5719-llvm-9d805139bdf016787c4d66619b17a2fff2c5392c.tar.gz
bcm5719-llvm-9d805139bdf016787c4d66619b17a2fff2c5392c.zip
[PM] Simplify the interface exposed for IR printing passes.
Nothing was using the ability of the pass to delete the raw_ostream it printed to, and nothing was trying to pass it a pointer to the raw_ostream. Also, the function variant had a different order of arguments from all of the others which was just really confusing. Now the interface accepts a reference, doesn't offer to delete it, and uses a consistent order. The implementation of the printing passes haven't been updated with this simplification, this is just the API switch. llvm-svn: 199044
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud