summaryrefslogtreecommitdiffstats
path: root/llvm/examples/Kaleidoscope/Chapter5/toy.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-11-16 17:28:22 +0000
committerDan Gohman <gohman@apple.com>2010-11-16 17:28:22 +0000
commita2307543854e0a825d8c1975b1e3db64d71ea949 (patch)
treebb55a5aa04da537ff88739159d1e2bc00e52aae4 /llvm/examples/Kaleidoscope/Chapter5/toy.cpp
parentd1fb1f49a23ec980dcc6bda5fc2284b36f3a51a2 (diff)
downloadbcm5719-llvm-a2307543854e0a825d8c1975b1e3db64d71ea949.tar.gz
bcm5719-llvm-a2307543854e0a825d8c1975b1e3db64d71ea949.zip
Fix missing includes of "llvm/Analysis/Passes.h" in the tutorials. Thanks
for Arnaud Allard de Grandmaison for preparing a patch. llvm-svn: 119351
Diffstat (limited to 'llvm/examples/Kaleidoscope/Chapter5/toy.cpp')
-rw-r--r--llvm/examples/Kaleidoscope/Chapter5/toy.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/examples/Kaleidoscope/Chapter5/toy.cpp b/llvm/examples/Kaleidoscope/Chapter5/toy.cpp
index 9405373f891..26b3db66202 100644
--- a/llvm/examples/Kaleidoscope/Chapter5/toy.cpp
+++ b/llvm/examples/Kaleidoscope/Chapter5/toy.cpp
@@ -5,6 +5,7 @@
#include "llvm/Module.h"
#include "llvm/PassManager.h"
#include "llvm/Analysis/Verifier.h"
+#include "llvm/Analysis/Passes.h"
#include "llvm/Target/TargetData.h"
#include "llvm/Target/TargetSelect.h"
#include "llvm/Transforms/Scalar.h"
OpenPOWER on IntegriCloud