aboutsummaryrefslogtreecommitdiffstats
path: root/docs/WritingAnLLVMPass.rst
diff options
context:
space:
mode:
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 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;