summaryrefslogtreecommitdiffstats
path: root/llvm/examples/Kaleidoscope/Chapter3
diff options
context:
space:
mode:
authorWill Dietz <wdietz2@illinois.edu>2013-10-12 00:55:57 +0000
committerWill Dietz <wdietz2@illinois.edu>2013-10-12 00:55:57 +0000
commit981af0021b9144cb08d605a404e9ea68b2e29b9e (patch)
treeec5c5f736ba7bad300bd0b24dbc117e917e09afe /llvm/examples/Kaleidoscope/Chapter3
parent05d7084ce9f8087ff3035412d5e3e1c790ec484d (diff)
downloadbcm5719-llvm-981af0021b9144cb08d605a404e9ea68b2e29b9e.tar.gz
bcm5719-llvm-981af0021b9144cb08d605a404e9ea68b2e29b9e.zip
Add missing #include's to cctype when using isdigit/alpha/etc.
llvm-svn: 192519
Diffstat (limited to 'llvm/examples/Kaleidoscope/Chapter3')
-rw-r--r--llvm/examples/Kaleidoscope/Chapter3/toy.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/examples/Kaleidoscope/Chapter3/toy.cpp b/llvm/examples/Kaleidoscope/Chapter3/toy.cpp
index 48cfbe6decb..0fb64e3a54d 100644
--- a/llvm/examples/Kaleidoscope/Chapter3/toy.cpp
+++ b/llvm/examples/Kaleidoscope/Chapter3/toy.cpp
@@ -3,6 +3,7 @@
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Module.h"
+#include <cctype>
#include <cstdio>
#include <map>
#include <string>
OpenPOWER on IntegriCloud