[llvm] r226425 - Change using => typedef to please the MSVC bots.

Michael Gottesman mgottesman at apple.com
Sun Jan 18 18:38:17 PST 2015


Author: mgottesman
Date: Sun Jan 18 20:38:16 2015
New Revision: 226425

URL: http://llvm.org/viewvc/llvm-project?rev=226425&view=rev
Log:
Change using => typedef to please the MSVC bots.

Modified:
    llvm/trunk/include/llvm/ADT/TinyPtrVector.h

Modified: llvm/trunk/include/llvm/ADT/TinyPtrVector.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/TinyPtrVector.h?rev=226425&r1=226424&r2=226425&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/TinyPtrVector.h (original)
+++ llvm/trunk/include/llvm/ADT/TinyPtrVector.h Sun Jan 18 20:38:16 2015
@@ -25,9 +25,9 @@ namespace llvm {
 template <typename EltTy>
 class TinyPtrVector {
 public:
-  using VecTy = llvm::SmallVector<EltTy, 4>;
-  using value_type = typename VecTy::value_type;
-  using PtrUnion = llvm::PointerUnion<EltTy, VecTy *>;
+  typedef llvm::SmallVector<EltTy, 4> VecTy;
+  typedef typename VecTy::value_type value_type;
+  typedef llvm::PointerUnion<EltTy, VecTy *> PtrUnion;
 
 private:
   PtrUnion Val;





More information about the llvm-commits mailing list