r332955 - Add cctype include.

David Chisnall via cfe-commits cfe-commits at lists.llvm.org
Tue May 22 00:22:50 PDT 2018

Author: theraven
Date: Tue May 22 00:22:50 2018
New Revision: 332955

URL: http://llvm.org/viewvc/llvm-project?rev=332955&view=rev
Add cctype include.

This appears to leak in already on libc++ platforms, but is breaking on
some other targets.


Modified: cfe/trunk/lib/CodeGen/CGObjCGNU.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjCGNU.cpp?rev=332955&r1=332954&r2=332955&view=diff
--- cfe/trunk/lib/CodeGen/CGObjCGNU.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjCGNU.cpp Tue May 22 00:22:50 2018
@@ -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;

More information about the cfe-commits mailing list