Dump the old-fashioned C-style <ctype.h> in favor of new `C++'-style <cctype>
authorMisha Brukman <brukman+llvm@gmail.com>
Tue, 20 Jul 2004 02:18:25 +0000 (02:18 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Tue, 20 Jul 2004 02:18:25 +0000 (02:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15025 91177308-0d34-0410-b5e6-96231b3b80d8

include/Support/StringExtras.h
include/llvm/ADT/StringExtras.h

index 51df4f19f6c48156280178ec3fe51ae21bad32bb..ad7527b46963670cc85869fac24c6d3753782dee 100644 (file)
@@ -15,8 +15,8 @@
 #define SUPPORT_STRINGEXTRAS_H
 
 #include "Support/DataTypes.h"
+#include <cctype>
 #include <string>
-#include <ctype.h>
 #include <stdio.h>
 
 namespace llvm {
index 51df4f19f6c48156280178ec3fe51ae21bad32bb..ad7527b46963670cc85869fac24c6d3753782dee 100644 (file)
@@ -15,8 +15,8 @@
 #define SUPPORT_STRINGEXTRAS_H
 
 #include "Support/DataTypes.h"
+#include <cctype>
 #include <string>
-#include <ctype.h>
 #include <stdio.h>
 
 namespace llvm {