diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-01-12 11:10:32 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-01-12 11:10:32 +0000 |
commit | 8a5351f0f5123b9e36116ac1761b20c3a264ec09 (patch) | |
tree | 57c281f8ceba7e70a3dfbde27d06117dc96de51d /lib/Target/CppBackend | |
parent | dbd37e9827f90cd6a4398f7ae2061bd74c2dfaf6 (diff) | |
download | llvm-8a5351f0f5123b9e36116ac1761b20c3a264ec09.tar.gz llvm-8a5351f0f5123b9e36116ac1761b20c3a264ec09.tar.bz2 llvm-8a5351f0f5123b9e36116ac1761b20c3a264ec09.tar.xz |
[PM] Rename the IR printing pass header to a more generic and correct
name to match the source file which I got earlier. Update the include
sites. Also modernize the comments in the header to use the more
recommended doxygen style.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199041 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CppBackend')
-rw-r--r-- | lib/Target/CppBackend/CPPBackend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/CppBackend/CPPBackend.cpp b/lib/Target/CppBackend/CPPBackend.cpp index 492b1947bc..6e2dd0a8e7 100644 --- a/lib/Target/CppBackend/CPPBackend.cpp +++ b/lib/Target/CppBackend/CPPBackend.cpp @@ -1924,11 +1924,11 @@ void CppWriter::printProgram(const std::string& fname, Out << "#include <llvm/IR/DerivedTypes.h>\n"; Out << "#include <llvm/IR/Function.h>\n"; Out << "#include <llvm/IR/GlobalVariable.h>\n"; + Out << "#include <llvm/IR/IRPrintingPasses.h>\n"; Out << "#include <llvm/IR/InlineAsm.h>\n"; Out << "#include <llvm/IR/Instructions.h>\n"; Out << "#include <llvm/IR/LLVMContext.h>\n"; Out << "#include <llvm/IR/Module.h>\n"; - Out << "#include <llvm/IR/PrintModulePass.h>\n"; Out << "#include <llvm/Support/FormattedStream.h>\n"; Out << "#include <llvm/Support/MathExtras.h>\n"; Out << "#include <algorithm>\n"; |