summaryrefslogtreecommitdiffstats
path: root/llvm/examples/Kaleidoscope/Chapter2/toy.cpp
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/Chapter2/toy.cpp
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/Chapter2/toy.cpp')
-rw-r--r--llvm/examples/Kaleidoscope/Chapter2/toy.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/examples/Kaleidoscope/Chapter2/toy.cpp b/llvm/examples/Kaleidoscope/Chapter2/toy.cpp
index 23d45aee89e..2dc6711eed7 100644
--- a/llvm/examples/Kaleidoscope/Chapter2/toy.cpp
+++ b/llvm/examples/Kaleidoscope/Chapter2/toy.cpp
@@ -1,3 +1,4 @@
+#include <cctype>
#include <cstdio>
#include <cstdlib>
#include <map>
OpenPOWER on IntegriCloud