Move the llvm mangler to lib/IR.
[oota-llvm.git] / lib / Target / ARM / ARMFeatures.h
index eaec0507410c991e34fb75cd7ad03600594ea3da..dafc4b3a82bd1b4bb47c728669ba320aa9b763bf 100644 (file)
 
 #include "ARM.h"
 
-using namespace llvm;
+namespace llvm {
 
 template<typename InstrType> // could be MachineInstr or MCInst
-bool isV8EligibleForIT(InstrType *Instr, int BLXOperandIndex=0) {
+inline bool isV8EligibleForIT(InstrType *Instr, int BLXOperandIndex = 0) {
   switch (Instr->getOpcode()) {
   default:
     return false;
@@ -88,4 +88,6 @@ bool isV8EligibleForIT(InstrType *Instr, int BLXOperandIndex=0) {
   }
 }
 
+}
+
 #endif