Skip to content

Commit 07b1159

Browse files
committed
[gardening] Change some typedef => using.
1 parent 6b89415 commit 07b1159

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/swift/SILOptimizer/Analysis/BasicCalleeAnalysis.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include "llvm/Support/Allocator.h"
2626

2727
namespace swift {
28+
2829
class ClassDecl;
2930
class SILFunction;
3031
class SILModule;
@@ -74,10 +75,9 @@ class CalleeList {
7475
/// any function application site (including those that are simple
7576
/// function_ref, thin_to_thick, or partial_apply callees).
7677
class CalleeCache {
77-
typedef llvm::SmallVector<SILFunction *, 16> Callees;
78-
typedef llvm::PointerIntPair<Callees *, 1> CalleesAndCanCallUnknown;
79-
typedef llvm::DenseMap<SILDeclRef, CalleesAndCanCallUnknown>
80-
CacheType;
78+
using Callees = llvm::SmallVector<SILFunction *, 16>;
79+
using CalleesAndCanCallUnknown = llvm::PointerIntPair<Callees *, 1>;
80+
using CacheType = llvm::DenseMap<SILDeclRef, CalleesAndCanCallUnknown>;
8181

8282
SILModule &M;
8383

0 commit comments

Comments
 (0)