[llvm] r194557 - Mips16InstrInfo.cpp: Use <cctype> instead of <ctype.h>

NAKAMURA Takumi geek4civic at gmail.com
Tue Nov 12 22:27:53 PST 2013


Author: chapuni
Date: Wed Nov 13 00:27:53 2013
New Revision: 194557

URL: http://llvm.org/viewvc/llvm-project?rev=194557&view=rev
Log:
Mips16InstrInfo.cpp: Use <cctype> instead of <ctype.h>

Also, prune <stdlib.h>, seems stray.

Modified:
    llvm/trunk/lib/Target/Mips/Mips16InstrInfo.cpp

Modified: llvm/trunk/lib/Target/Mips/Mips16InstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/Mips16InstrInfo.cpp?rev=194557&r1=194556&r2=194557&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/Mips16InstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/Mips/Mips16InstrInfo.cpp Wed Nov 13 00:27:53 2013
@@ -10,8 +10,6 @@
 // This file contains the Mips16 implementation of the TargetInstrInfo class.
 //
 //===----------------------------------------------------------------------===//
-#include <ctype.h>
-#include <stdlib.h>
 #include "Mips16InstrInfo.h"
 #include "InstPrinter/MipsInstPrinter.h"
 #include "MipsMachineFunction.h"
@@ -26,6 +24,7 @@
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/ErrorHandling.h"
 #include "llvm/Support/TargetRegistry.h"
+#include <cctype>
 
 using namespace llvm;
 





More information about the llvm-commits mailing list