diff options
| author | Alp Toker <alp@nuanti.com> | 2013-11-30 23:33:14 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2013-11-30 23:33:14 +0000 |
| commit | 54ee53a0c4aaaae9e91af2ef1a11ea27a2dc2911 (patch) | |
| tree | 8fcc87601db11d232764c475b0afacfe4ea1f825 | |
| parent | 3422543391ac323f03a8b53fefca00ab2c41306e (diff) | |
| download | bcm5719-llvm-54ee53a0c4aaaae9e91af2ef1a11ea27a2dc2911.tar.gz bcm5719-llvm-54ee53a0c4aaaae9e91af2ef1a11ea27a2dc2911.zip | |
Fix typo: s/Occurence/Occurrence/
This is a private class member so the fix shouldn't impact external projects.
llvm-svn: 195985
| -rw-r--r-- | clang/tools/libclang/IndexingContext.cpp | 6 | ||||
| -rw-r--r-- | clang/tools/libclang/IndexingContext.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/clang/tools/libclang/IndexingContext.cpp b/clang/tools/libclang/IndexingContext.cpp index 952c255cd96..2e0f7c20fc7 100644 --- a/clang/tools/libclang/IndexingContext.cpp +++ b/clang/tools/libclang/IndexingContext.cpp @@ -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. diff --git a/clang/tools/libclang/IndexingContext.h b/clang/tools/libclang/IndexingContext.h index 3437d55f014..91a22a98a6f 100644 --- a/clang/tools/libclang/IndexingContext.h +++ b/clang/tools/libclang/IndexingContext.h @@ -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; |

