diff --git a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp --- a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp +++ b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp @@ -65,7 +65,7 @@ /// gettok - Return the next token from standard input. static int gettok() { - static int LastChar = ' '; + static char LastChar = ' '; // Skip any whitespace. while (isspace(LastChar)) diff --git a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp --- a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp +++ b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp @@ -65,7 +65,7 @@ /// gettok - Return the next token from standard input. static int gettok() { - static int LastChar = ' '; + static char LastChar = ' '; // Skip any whitespace. while (isspace(LastChar)) diff --git a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/toy.cpp b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/toy.cpp --- a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/toy.cpp +++ b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/toy.cpp @@ -65,7 +65,7 @@ /// gettok - Return the next token from standard input. static int gettok() { - static int LastChar = ' '; + static char LastChar = ' '; // Skip any whitespace. while (isspace(LastChar)) diff --git a/llvm/examples/Kaleidoscope/Chapter2/toy.cpp b/llvm/examples/Kaleidoscope/Chapter2/toy.cpp --- a/llvm/examples/Kaleidoscope/Chapter2/toy.cpp +++ b/llvm/examples/Kaleidoscope/Chapter2/toy.cpp @@ -30,7 +30,7 @@ /// gettok - Return the next token from standard input. static int gettok() { - static int LastChar = ' '; + static char LastChar = ' '; // Skip any whitespace. while (isspace(LastChar)) diff --git a/llvm/examples/Kaleidoscope/Chapter3/toy.cpp b/llvm/examples/Kaleidoscope/Chapter3/toy.cpp --- a/llvm/examples/Kaleidoscope/Chapter3/toy.cpp +++ b/llvm/examples/Kaleidoscope/Chapter3/toy.cpp @@ -43,7 +43,7 @@ /// gettok - Return the next token from standard input. static int gettok() { - static int LastChar = ' '; + static char LastChar = ' '; // Skip any whitespace. while (isspace(LastChar)) diff --git a/llvm/examples/Kaleidoscope/Chapter4/toy.cpp b/llvm/examples/Kaleidoscope/Chapter4/toy.cpp --- a/llvm/examples/Kaleidoscope/Chapter4/toy.cpp +++ b/llvm/examples/Kaleidoscope/Chapter4/toy.cpp @@ -53,7 +53,7 @@ /// gettok - Return the next token from standard input. static int gettok() { - static int LastChar = ' '; + static char LastChar = ' '; // Skip any whitespace. while (isspace(LastChar)) diff --git a/llvm/examples/Kaleidoscope/Chapter6/toy.cpp b/llvm/examples/Kaleidoscope/Chapter6/toy.cpp --- a/llvm/examples/Kaleidoscope/Chapter6/toy.cpp +++ b/llvm/examples/Kaleidoscope/Chapter6/toy.cpp @@ -65,7 +65,7 @@ /// gettok - Return the next token from standard input. static int gettok() { - static int LastChar = ' '; + static char LastChar = ' '; // Skip any whitespace. while (isspace(LastChar)) diff --git a/llvm/examples/Kaleidoscope/Chapter7/toy.cpp b/llvm/examples/Kaleidoscope/Chapter7/toy.cpp --- a/llvm/examples/Kaleidoscope/Chapter7/toy.cpp +++ b/llvm/examples/Kaleidoscope/Chapter7/toy.cpp @@ -70,7 +70,7 @@ /// gettok - Return the next token from standard input. static int gettok() { - static int LastChar = ' '; + static char LastChar = ' '; // Skip any whitespace. while (isspace(LastChar)) diff --git a/llvm/examples/Kaleidoscope/Chapter8/toy.cpp b/llvm/examples/Kaleidoscope/Chapter8/toy.cpp --- a/llvm/examples/Kaleidoscope/Chapter8/toy.cpp +++ b/llvm/examples/Kaleidoscope/Chapter8/toy.cpp @@ -71,7 +71,7 @@ /// gettok - Return the next token from standard input. static int gettok() { - static int LastChar = ' '; + static char LastChar = ' '; // Skip any whitespace. while (isspace(LastChar)) diff --git a/llvm/examples/Kaleidoscope/MCJIT/cached/toy-jit.cpp b/llvm/examples/Kaleidoscope/MCJIT/cached/toy-jit.cpp --- a/llvm/examples/Kaleidoscope/MCJIT/cached/toy-jit.cpp +++ b/llvm/examples/Kaleidoscope/MCJIT/cached/toy-jit.cpp @@ -65,7 +65,7 @@ /// gettok - Return the next token from standard input. static int gettok() { - static int LastChar = ' '; + static char LastChar = ' '; // Skip any whitespace. while (isspace(LastChar)) diff --git a/llvm/examples/Kaleidoscope/MCJIT/complete/toy.cpp b/llvm/examples/Kaleidoscope/MCJIT/complete/toy.cpp --- a/llvm/examples/Kaleidoscope/MCJIT/complete/toy.cpp +++ b/llvm/examples/Kaleidoscope/MCJIT/complete/toy.cpp @@ -91,7 +91,7 @@ /// gettok - Return the next token from standard input. static int gettok() { - static int LastChar = ' '; + static char LastChar = ' '; // Skip any whitespace. while (isspace(LastChar)) diff --git a/llvm/examples/Kaleidoscope/MCJIT/initial/toy.cpp b/llvm/examples/Kaleidoscope/MCJIT/initial/toy.cpp --- a/llvm/examples/Kaleidoscope/MCJIT/initial/toy.cpp +++ b/llvm/examples/Kaleidoscope/MCJIT/initial/toy.cpp @@ -49,7 +49,7 @@ /// gettok - Return the next token from standard input. static int gettok() { - static int LastChar = ' '; + static char LastChar = ' '; // Skip any whitespace. while (isspace(LastChar)) diff --git a/llvm/examples/Kaleidoscope/MCJIT/lazy/toy-jit.cpp b/llvm/examples/Kaleidoscope/MCJIT/lazy/toy-jit.cpp --- a/llvm/examples/Kaleidoscope/MCJIT/lazy/toy-jit.cpp +++ b/llvm/examples/Kaleidoscope/MCJIT/lazy/toy-jit.cpp @@ -50,7 +50,7 @@ /// gettok - Return the next token from standard input. static int gettok() { - static int LastChar = ' '; + static char LastChar = ' '; // Skip any whitespace. while (isspace(LastChar)) diff --git a/llvm/examples/Kaleidoscope/MCJIT/lazy/toy.cpp b/llvm/examples/Kaleidoscope/MCJIT/lazy/toy.cpp --- a/llvm/examples/Kaleidoscope/MCJIT/lazy/toy.cpp +++ b/llvm/examples/Kaleidoscope/MCJIT/lazy/toy.cpp @@ -51,7 +51,7 @@ /// gettok - Return the next token from standard input. static int gettok() { - static int LastChar = ' '; + static char LastChar = ' '; // Skip any whitespace. while (isspace(LastChar))