aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/DAGDeltaAlgorithm.cpp
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2023-04-17 14:02:48 +0200
committerIlya Biryukov <ibiryukov@google.com>2023-04-18 12:40:39 +0200
commitccf7191719375cac15da5a3eb406e1efa602b096 (patch)
tree905f765282fb9bdf7430a998e30149728c764e02 /llvm/lib/Support/DAGDeltaAlgorithm.cpp
parent294831688ff9b45b115e00dabd3119d6803414ab (diff)
downloadllvm-ccf7191719375cac15da5a3eb406e1efa602b096.zip
llvm-ccf7191719375cac15da5a3eb406e1efa602b096.tar.gz
llvm-ccf7191719375cac15da5a3eb406e1efa602b096.tar.bz2
[Modules] Do not rewrite existing decls when deserializing class fields
Classes can have implicit members that were added before fields were deserialized. These members were previously silently removed from `decls()` when fields were deserialized after them. This was the root cause of a compilation error exposed in bc95f27337c7ed77c28e713c855272848f01802a, added a test for it. Reviewed By: ChuanqiXu Differential Revision: https://reviews.llvm.org/D148515
Diffstat (limited to 'llvm/lib/Support/DAGDeltaAlgorithm.cpp')
0 files changed, 0 insertions, 0 deletions