diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2017-10-13 22:14:34 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2017-10-13 22:14:34 +0000 |
| commit | 17ba669ad96b6bb303324dda9a4f8d4d7d92fda8 (patch) | |
| tree | e795274f98706739630e247bf2b2eaf772fd164b /llvm | |
| parent | a3cd5247b3a15038e1bde0a867b69432531f98de (diff) | |
| download | bcm5719-llvm-17ba669ad96b6bb303324dda9a4f8d4d7d92fda8.tar.gz bcm5719-llvm-17ba669ad96b6bb303324dda9a4f8d4d7d92fda8.zip | |
[Sema] Avoid iterator invalidation when code completing.
It's possible for the code completion consumer to add new decls to the
current scope while lookup happens on it. Avoid this by making a copy
first.
Sadly I wasn't able to get a self-contained test case for this as it
requires code completion + precompiled preamble + the stars aligning to
deserialize at exactly the right time.
llvm-svn: 315772
Diffstat (limited to 'llvm')
0 files changed, 0 insertions, 0 deletions

