diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-07-08 19:59:35 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-07-08 19:59:35 +0000 |
commit | e5a532dae346f5f34d8ae8fa3f8f0ff3c747243e (patch) | |
tree | d312b3185c66cf7428b7f7b5a2c44e9edc39bb6b /docs/WritingAnLLVMPass.rst | |
parent | 881b0b5c77ec3f6849e32b7763b6c75057b81501 (diff) | |
download | external_llvm-e5a532dae346f5f34d8ae8fa3f8f0ff3c747243e.zip external_llvm-e5a532dae346f5f34d8ae8fa3f8f0ff3c747243e.tar.gz external_llvm-e5a532dae346f5f34d8ae8fa3f8f0ff3c747243e.tar.bz2 |
IR headers moved to llvm/IR some aeons ago, update documentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185854 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/WritingAnLLVMPass.rst')
-rw-r--r-- | docs/WritingAnLLVMPass.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/WritingAnLLVMPass.rst b/docs/WritingAnLLVMPass.rst index e7a87a1..1114fa0 100644 --- a/docs/WritingAnLLVMPass.rst +++ b/docs/WritingAnLLVMPass.rst @@ -96,7 +96,7 @@ Start out with: .. code-block:: c++ #include "llvm/Pass.h" - #include "llvm/Function.h" + #include "llvm/IR/Function.h" #include "llvm/Support/raw_ostream.h" Which are needed because we are writing a `Pass @@ -184,7 +184,7 @@ As a whole, the ``.cpp`` file looks like: .. code-block:: c++ #include "llvm/Pass.h" - #include "llvm/Function.h" + #include "llvm/IR/Function.h" #include "llvm/Support/raw_ostream.h" using namespace llvm; |