diff options
author | Vincent Lee <thevinster@users.noreply.github.com> | 2024-01-20 14:22:31 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-20 14:22:31 -0800 |
commit | 06ca52e25226d406a3e384953abd12955f42ac84 (patch) | |
tree | 8b7c46774804e5c57b1040380eea1a06ca9df92f /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 49212d1601a1f0e34a8867eb1ad2e394f91cade1 (diff) | |
download | llvm-06ca52e25226d406a3e384953abd12955f42ac84.zip llvm-06ca52e25226d406a3e384953abd12955f42ac84.tar.gz llvm-06ca52e25226d406a3e384953abd12955f42ac84.tar.bz2 |
[InlineOrder] Fix InlineOrder erase_if implementation (#78684)
The InlineOrder Heap stores a CallBase ptr and InlineHistoryID pair.
When running the `erase_if` method, InlineHistoryID is always returned
with 0. Instead, we should be retrieving it from the `InlineHistoryMap`
(similar to what is done in the `pop` implementation).
This change is completely harmless because no one is using
InlineHistoryID right now as part of the `erase_if` implementation which
is currently only used in the ModuleInliner.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions