diff options
| author | Ben Langmuir <blangmuir@apple.com> | 2014-02-27 19:14:03 +0000 |
|---|---|---|
| committer | Ben Langmuir <blangmuir@apple.com> | 2014-02-27 19:14:03 +0000 |
| commit | 1f3d645a46e7c3f34769e6b882f3be52d6816d95 (patch) | |
| tree | 3be29edb099c7491e861d87b916119235e104622 /lib/Serialization/ModuleManager.cpp | |
| parent | 8bb3054559fa34de5a8324b3d78431f9602e6797 (diff) | |
| download | clang-1f3d645a46e7c3f34769e6b882f3be52d6816d95.tar.gz clang-1f3d645a46e7c3f34769e6b882f3be52d6816d95.tar.bz2 clang-1f3d645a46e7c3f34769e6b882f3be52d6816d95.tar.xz | |
Remove constructors from FileEntry that prevent owning resources
This cleans up some constructors that would not be safe once FileEntry
owns the storage for its name. These were already suspect, since they
wouldn't work if the FileEntry had an open file descriptor. The only
user for these constructors was in UniqueFileContainer, which wasn't a
very useful abstraction anyway. So it and UniqueDirContainer have been
replaced with std::map<UniqueID, *>.
This change should not affect anything outside the FileManager.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202420 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions
