summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/ModuleMaker/ModuleMaker.cpp2
-rw-r--r--examples/ModuleMaker/tools/ModuleMaker/ModuleMaker.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/examples/ModuleMaker/ModuleMaker.cpp b/examples/ModuleMaker/ModuleMaker.cpp
index 1d06c2d0dd..a1b68449f3 100644
--- a/examples/ModuleMaker/ModuleMaker.cpp
+++ b/examples/ModuleMaker/ModuleMaker.cpp
@@ -12,6 +12,8 @@
#include "llvm/Instructions.h"
#include "llvm/Bytecode/Writer.h"
+using namespace llvm;
+
int main() {
// Create the "module" or "program" or "translation unit" to hold the
// function
diff --git a/examples/ModuleMaker/tools/ModuleMaker/ModuleMaker.cpp b/examples/ModuleMaker/tools/ModuleMaker/ModuleMaker.cpp
index 1d06c2d0dd..a1b68449f3 100644
--- a/examples/ModuleMaker/tools/ModuleMaker/ModuleMaker.cpp
+++ b/examples/ModuleMaker/tools/ModuleMaker/ModuleMaker.cpp
@@ -12,6 +12,8 @@
#include "llvm/Instructions.h"
#include "llvm/Bytecode/Writer.h"
+using namespace llvm;
+
int main() {
// Create the "module" or "program" or "translation unit" to hold the
// function