Refactor all instances of `typedef y x` to the C++11 `using x = y` syntax.
The C++11 syntax is more powerful as it also allows templating. This commit
converts all type aliasing to the same syntax for consistency.
BUG=
R=jpp@chromium.org
Review URL: https://codereview.chromium.org/1343843003 .
diff --git a/src/IceTargetLowering.h b/src/IceTargetLowering.h
index e63ece2..8620ac2 100644
--- a/src/IceTargetLowering.h
+++ b/src/IceTargetLowering.h
@@ -206,7 +206,7 @@
RegSet_FramePointer = 1 << 3,
RegSet_All = ~RegSet_None
};
- typedef uint32_t RegSetMask;
+ using RegSetMask = uint32_t;
virtual llvm::SmallBitVector getRegisterSet(RegSetMask Include,
RegSetMask Exclude) const = 0;