From 06b26d41314e97d9a2498aa846b8d32496deb8ea Mon Sep 17 00:00:00 2001 From: Alp Toker Date: Sat, 30 Nov 2013 23:33:14 +0000 Subject: [PATCH] Fix typo: s/Occurence/Occurrence/ 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 --- tools/libclang/IndexingContext.cpp | 6 +++--- tools/libclang/IndexingContext.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/libclang/IndexingContext.cpp b/tools/libclang/IndexingContext.cpp index 952c255cd9..2e0f7c20fc 100644 --- a/tools/libclang/IndexingContext.cpp +++ b/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::iterator, bool> - res = RefFileOccurences.insert(RefOccur); + RefFileOccurrence RefOccur(FE, D); + std::pair::iterator, bool> + res = RefFileOccurrences.insert(RefOccur); if (!res.second) return true; // already in map. diff --git a/tools/libclang/IndexingContext.h b/tools/libclang/IndexingContext.h index 3437d55f01..91a22a98a6 100644 --- a/tools/libclang/IndexingContext.h +++ b/tools/libclang/IndexingContext.h @@ -286,8 +286,8 @@ class IndexingContext { ContainerMapTy ContainerMap; EntityMapTy EntityMap; - typedef std::pair RefFileOccurence; - llvm::DenseSet RefFileOccurences; + typedef std::pair RefFileOccurrence; + llvm::DenseSet RefFileOccurrences; std::deque TUDeclsInObjCContainer; -- 2.40.0