This is a private class member so the fix shouldn't impact external projects.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195985
91177308-0d34-0410-b5e6-
96231b3b80d8
const FileEntry *FE = SM.getFileEntryForID(FID);
if (!FE)
return true;
- RefFileOccurence RefOccur(FE, D);
- std::pair<llvm::DenseSet<RefFileOccurence>::iterator, bool>
- res = RefFileOccurences.insert(RefOccur);
+ RefFileOccurrence RefOccur(FE, D);
+ std::pair<llvm::DenseSet<RefFileOccurrence>::iterator, bool>
+ res = RefFileOccurrences.insert(RefOccur);
if (!res.second)
return true; // already in map.
ContainerMapTy ContainerMap;
EntityMapTy EntityMap;
- typedef std::pair<const FileEntry *, const Decl *> RefFileOccurence;
- llvm::DenseSet<RefFileOccurence> RefFileOccurences;
+ typedef std::pair<const FileEntry *, const Decl *> RefFileOccurrence;
+ llvm::DenseSet<RefFileOccurrence> RefFileOccurrences;
std::deque<DeclGroupRef> TUDeclsInObjCContainer;