Insertion into SeenFileEntries can invalidate iterators, we need to do
another lookup on the re-intern path.
Details
Details
- Reviewers
arphaman
Diff Detail
Diff Detail
Event Timeline
clang/lib/Basic/FileManager.cpp | ||
---|---|---|
271–290 | It's a little scary that NamedFileEnt is invalid after this, since there's a fair bit of code that follows. I could imagine this regressing. I suggest changing NamedFileEnt to a pointer that gets updated here. |
It's a little scary that NamedFileEnt is invalid after this, since there's a fair bit of code that follows. I could imagine this regressing. I suggest changing NamedFileEnt to a pointer that gets updated here.