]> granicus.if.org Git - clang/commitdiff
Add cctype include.
authorDavid Chisnall <csdavec@swan.ac.uk>
Tue, 22 May 2018 07:22:50 +0000 (07:22 +0000)
committerDavid Chisnall <csdavec@swan.ac.uk>
Tue, 22 May 2018 07:22:50 +0000 (07:22 +0000)
This appears to leak in already on libc++ platforms, but is breaking on
some other targets.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@332955 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGObjCGNU.cpp

index 78029dafd3a6c1e07a389d77dbe0dd6ac742858f..eb016597cee6fc34a44ffed664ec96e9a72b8a8c 100644 (file)
@@ -35,6 +35,7 @@
 #include "llvm/IR/Module.h"
 #include "llvm/Support/Compiler.h"
 #include "llvm/Support/ConvertUTF.h"
+#include <cctype>
 
 using namespace clang;
 using namespace CodeGen;