Skip to content

Commit 57c5789

Browse files
[ByteCode] Remove a redundant call to std::unique_ptr<T>::get (NFC)
1 parent 37eda40 commit 57c5789

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)