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 | e2db0cb07b7c16152760881bb8823e26ffec216c (patch) | |
tree | d87bbd22f2a92ecea7c64e415231be2791156881 /clang/lib/Basic/FileSystemStatCache.cpp | |
parent | 5179a4ea28b92e7f099abe334973df21db66c289 (diff) | |
download | llvm-e2db0cb07b7c16152760881bb8823e26ffec216c.zip llvm-e2db0cb07b7c16152760881bb8823e26ffec216c.tar.gz llvm-e2db0cb07b7c16152760881bb8823e26ffec216c.tar.bz2 |
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.
llvm-svn: 202420
Diffstat (limited to 'clang/lib/Basic/FileSystemStatCache.cpp')
0 files changed, 0 insertions, 0 deletions