aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorVincent Lee <thevinster@users.noreply.github.com>2024-01-20 14:22:31 -0800
committerGitHub <noreply@github.com>2024-01-20 14:22:31 -0800
commit06ca52e25226d406a3e384953abd12955f42ac84 (patch)
tree8b7c46774804e5c57b1040380eea1a06ca9df92f /clang/lib/Frontend/CompilerInvocation.cpp
parent49212d1601a1f0e34a8867eb1ad2e394f91cade1 (diff)
downloadllvm-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