summaryrefslogtreecommitdiffstats
path: root/clang/lib/Index/IndexingAction.cpp
diff options
context:
space:
mode:
authorKirill Bobyrev <kbobyrev@google.com>2019-12-16 10:33:56 +0100
committerKirill Bobyrev <kbobyrev@google.com>2019-12-16 10:54:40 +0100
commit3b9715cb219352fb831af144fd68e14e8fd275b4 (patch)
tree6cda9f7523bed2dc16c77b6ed0cad1d0373e4b78 /clang/lib/Index/IndexingAction.cpp
parentf49d15b3f8ccd7737a62d40adfe5ff1e710788d4 (diff)
downloadbcm5719-llvm-3b9715cb219352fb831af144fd68e14e8fd275b4.tar.gz
bcm5719-llvm-3b9715cb219352fb831af144fd68e14e8fd275b4.zip
[NFC] Fix typos in Clangd and Clang
Reviewed by: Jim Differential Revision: https://reviews.llvm.org/D71455
Diffstat (limited to 'clang/lib/Index/IndexingAction.cpp')
-rw-r--r--clang/lib/Index/IndexingAction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Index/IndexingAction.cpp b/clang/lib/Index/IndexingAction.cpp
index 6d6133e89d8..4f402135672 100644
--- a/clang/lib/Index/IndexingAction.cpp
+++ b/clang/lib/Index/IndexingAction.cpp
@@ -151,7 +151,7 @@ static void indexPreprocessorMacros(const Preprocessor &PP,
IndexDataConsumer &DataConsumer) {
for (const auto &M : PP.macros())
if (MacroDirective *MD = M.second.getLatest())
- DataConsumer.handleMacroOccurence(
+ DataConsumer.handleMacroOccurrence(
M.first, MD->getMacroInfo(),
static_cast<unsigned>(index::SymbolRole::Definition),
MD->getLocation());
OpenPOWER on IntegriCloud