Skip to content

Commit 9c40b97

Browse files
kazutakahiratagithub-actions[bot]
authored andcommitted
Automerge: [ByteCode] Remove a redundant call to std::unique_ptr<T>::get (NFC) (#163512)
2 parents e77074d + 251ae55 commit 9c40b97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/AST/ByteCode/InterpState.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class InterpState final : public State, public SourceMapper {
114114
Alloc = std::make_unique<DynamicAllocator>();
115115
}
116116

117-
return *Alloc.get();
117+
return *Alloc;
118118
}
119119

120120
/// Diagnose any dynamic allocations that haven't been freed yet.

0 commit comments

Comments
 (0)