summaryrefslogtreecommitdiff
path: root/docs/WritingAnLLVMPass.rst
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-07-08 19:59:35 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-07-08 19:59:35 +0000
commite5a532dae346f5f34d8ae8fa3f8f0ff3c747243e (patch)
treed312b3185c66cf7428b7f7b5a2c44e9edc39bb6b /docs/WritingAnLLVMPass.rst
parent881b0b5c77ec3f6849e32b7763b6c75057b81501 (diff)
downloadllvm-e5a532dae346f5f34d8ae8fa3f8f0ff3c747243e.tar.gz
llvm-e5a532dae346f5f34d8ae8fa3f8f0ff3c747243e.tar.bz2
llvm-e5a532dae346f5f34d8ae8fa3f8f0ff3c747243e.tar.xz
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.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/WritingAnLLVMPass.rst b/docs/WritingAnLLVMPass.rst
index e7a87a12d2..1114fa0f21 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;