diff options
author | Michael Buch <michaelbuch12@gmail.com> | 2024-08-28 00:40:10 +0100 |
---|---|---|
committer | Michael Buch <michaelbuch12@gmail.com> | 2024-08-28 00:40:12 +0100 |
commit | 0b1c8fd162aa1be66332d57d7da68416a9acb5ef (patch) | |
tree | a274764097f7c3d06f35a1064cfcf6dc1e715b66 /llvm/lib/CodeGen/MachineCopyPropagation.cpp | |
parent | 91e09c37da6a03a3575678f4c955a6a0ef861ede (diff) | |
download | llvm-0b1c8fd162aa1be66332d57d7da68416a9acb5ef.zip llvm-0b1c8fd162aa1be66332d57d7da68416a9acb5ef.tar.gz llvm-0b1c8fd162aa1be66332d57d7da68416a9acb5ef.tar.bz2 |
[lldb][ClangExpressionParser] Remove duplicate construction of ExternalASTSourceWrapper
This is an oversight from https://github.com/llvm/llvm-project/pull/104817 where the intention
was to hoist the ExternalASTSourceWrapper construction out of the
conditional so it can be set on both the `SemaSourceWithPriorities` and
be added as an external source to Sema. But the inner
`ExternalASTSourceWrapper` allocation wasn't actually removed.
This currently all works fine because all these AST sources are
refcounted and point to the same underlying AST sources. But this
patch cleans this up regardless.
Diffstat (limited to 'llvm/lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions