[llvm] r286558 - llvm-strings: explicitly include cctype
Saleem Abdulrasool via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 10 20:01:00 PST 2016
Author: compnerd
Date: Thu Nov 10 22:00:59 2016
New Revision: 286558
URL: http://llvm.org/viewvc/llvm-project?rev=286558&view=rev
Log:
llvm-strings: explicitly include cctype
Include the cctype header to try to fix windows bots.
Modified:
llvm/trunk/tools/llvm-strings/llvm-strings.cpp
Modified: llvm/trunk/tools/llvm-strings/llvm-strings.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-strings/llvm-strings.cpp?rev=286558&r1=286557&r2=286558&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-strings/llvm-strings.cpp (original)
+++ llvm/trunk/tools/llvm-strings/llvm-strings.cpp Thu Nov 10 22:00:59 2016
@@ -22,6 +22,7 @@
#include "llvm/Support/PrettyStackTrace.h"
#include "llvm/Support/Program.h"
#include "llvm/Support/Signals.h"
+#include <cctype>
#include <string>
using namespace llvm;
@@ -74,7 +75,7 @@ class Strings {
}
}
}
- static_cast<bool>(E);
+ (void)static_cast<bool>(E);
}
public:
More information about the llvm-commits
mailing list