diff options
| author | Kazu Hirata <kazu@google.com> | 2025-10-15 06:54:46 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-15 06:54:46 -0700 |
| commit | 251ae559be00ed0401f3ba3d6e07769c3f57060d (patch) | |
| tree | d551b9fe68a084124452301966b091e7cc8d9ac9 /clang/lib | |
| parent | 334d8854e9fab12b1112313163199ef353dd8d22 (diff) | |
| download | llvm-251ae559be00ed0401f3ba3d6e07769c3f57060d.zip llvm-251ae559be00ed0401f3ba3d6e07769c3f57060d.tar.gz llvm-251ae559be00ed0401f3ba3d6e07769c3f57060d.tar.bz2 | |
[ByteCode] Remove a redundant call to std::unique_ptr<T>::get (NFC) (#163512)
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/AST/ByteCode/InterpState.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/ByteCode/InterpState.h b/clang/lib/AST/ByteCode/InterpState.h index a13244b..e2e4d5c 100644 --- a/clang/lib/AST/ByteCode/InterpState.h +++ b/clang/lib/AST/ByteCode/InterpState.h @@ -114,7 +114,7 @@ public: Alloc = std::make_unique<DynamicAllocator>(); } - return *Alloc.get(); + return *Alloc; } /// Diagnose any dynamic allocations that haven't been freed yet. |
