[llvm] b302460 - [llvm][StringExtras] Add missing include of cctype
River Riddle via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 14 19:34:57 PDT 2020
Author: River Riddle
Date: 2020-04-14T19:29:54-07:00
New Revision: b30246087a3c56c3dad60cadc7fb2692ed758566
URL: https://github.com/llvm/llvm-project/commit/b30246087a3c56c3dad60cadc7fb2692ed758566
DIFF: https://github.com/llvm/llvm-project/commit/b30246087a3c56c3dad60cadc7fb2692ed758566.diff
LOG: [llvm][StringExtras] Add missing include of cctype
This fixes build breakages on windows.
Added:
Modified:
llvm/lib/Support/StringExtras.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Support/StringExtras.cpp b/llvm/lib/Support/StringExtras.cpp
index 015dd9fb88e8..c206bd214519 100644
--- a/llvm/lib/Support/StringExtras.cpp
+++ b/llvm/lib/Support/StringExtras.cpp
@@ -13,6 +13,8 @@
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/raw_ostream.h"
+#include <cctype>
+
using namespace llvm;
/// StrInStrNoCase - Portable version of strcasestr. Locates the first
More information about the llvm-commits
mailing list