]> granicus.if.org Git - clang/commitdiff
[VFS] Use llvm::StringMap instead of std::map. NFC
authorEric Liu <ioeric@google.com>
Mon, 24 Sep 2018 14:52:11 +0000 (14:52 +0000)
committerEric Liu <ioeric@google.com>
Mon, 24 Sep 2018 14:52:11 +0000 (14:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@342889 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/VirtualFileSystem.cpp

index e5eb5e47fdfd4261d300578022ded8b6c88ded8d..56fc33633404c82ff4a202d5e1b2fbf360297e78 100644 (file)
@@ -566,7 +566,7 @@ public:
 
 class InMemoryDirectory : public InMemoryNode {
   Status Stat;
-  std::map<std::string, std::unique_ptr<InMemoryNode>> Entries;
+  llvm::StringMap<std::unique_ptr<InMemoryNode>> Entries;
 
 public:
   InMemoryDirectory(Status Stat)