r195985 - Fix typo: s/Occurence/Occurrence/
Alp Toker
alp at nuanti.com
Sat Nov 30 15:33:14 PST 2013
Author: alp
Date: Sat Nov 30 17:33:14 2013
New Revision: 195985
URL: http://llvm.org/viewvc/llvm-project?rev=195985&view=rev
Log:
Fix typo: s/Occurence/Occurrence/
This is a private class member so the fix shouldn't impact external projects.
Modified:
cfe/trunk/tools/libclang/IndexingContext.cpp
cfe/trunk/tools/libclang/IndexingContext.h
Modified: cfe/trunk/tools/libclang/IndexingContext.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/IndexingContext.cpp?rev=195985&r1=195984&r2=195985&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/IndexingContext.cpp (original)
+++ cfe/trunk/tools/libclang/IndexingContext.cpp Sat Nov 30 17:33:14 2013
@@ -802,9 +802,9 @@ bool IndexingContext::markEntityOccurren
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.
Modified: cfe/trunk/tools/libclang/IndexingContext.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/IndexingContext.h?rev=195985&r1=195984&r2=195985&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/IndexingContext.h (original)
+++ cfe/trunk/tools/libclang/IndexingContext.h Sat Nov 30 17:33:14 2013
@@ -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;
More information about the cfe-commits
mailing list