aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2021-06-19 11:36:44 -0700
committerFangrui Song <i@maskray.me>2021-06-19 11:36:44 -0700
commit59d90fe817b5f1feae1a1406bd487e6552b9928d (patch)
tree5fefcc0495914bad8cd393c51aa745e7690c84f0 /llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
parent1605fce6c3074f8d1dff5a917a1840ffa66abd86 (diff)
downloadllvm-59d90fe817b5f1feae1a1406bd487e6552b9928d.zip
llvm-59d90fe817b5f1feae1a1406bd487e6552b9928d.tar.gz
llvm-59d90fe817b5f1feae1a1406bd487e6552b9928d.tar.bz2
Simplify some typedef struct
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
index ead953c..75a0ab6 100644
--- a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
+++ b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
@@ -971,10 +971,10 @@ public:
SmallVector<MachineInstr *, 4> Insts; /// Vector of DBG_VALUEs to insert.
};
- typedef struct {
+ struct LocAndProperties {
LocIdx Loc;
DbgValueProperties Properties;
- } LocAndProperties;
+ };
/// Collection of transfers (DBG_VALUEs) to be inserted.
SmallVector<Transfer, 32> Transfers;