forked from OSchip/llvm-project
Fix typo: s/Occurence/Occurrence/
This is a private class member so the fix shouldn't impact external projects. llvm-svn: 195985
This commit is contained in:
parent
3422543391
commit
54ee53a0c4
|
@ -802,9 +802,9 @@ bool IndexingContext::markEntityOccurrenceInFile(const NamedDecl *D,
|
|||
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.
|
||||
|
||||
|
|
|
@ -286,8 +286,8 @@ class IndexingContext {
|
|||
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue