@@ -679,7 +679,7 @@ class IndexDataConsumer : public index::IndexDataConsumer {
679679 IndexDataConsumer (IndexParam ¶m) : param(param) {}
680680 void initialize (ASTContext &ctx) override { this ->ctx = param.ctx = &ctx; }
681681#if LLVM_VERSION_MAJOR < 10 // llvmorg-10-init-12036-g3b9715cb219
682- # define handleDeclOccurrence handleDeclOccurence
682+ #define handleDeclOccurrence handleDeclOccurence
683683#endif
684684 bool handleDeclOccurrence (const Decl *d, index::SymbolRoleSet roles,
685685 ArrayRef<index::SymbolRelation> relations,
@@ -877,10 +877,10 @@ class IndexDataConsumer : public index::IndexDataConsumer {
877877 Usr usr1 = getUsr (d1, &info1);
878878 IndexType &type1 = db->toType (usr1);
879879 SourceLocation sl1 = d1->getLocation ();
880- type1.def .spell = {
881- Use{{ fromTokenRange (sm, lang, {sl1, sl1}), Role::Definition},
882- lid},
883- fromTokenRange (sm, lang, sr1)};
880+ type1.def .spell = {Use{{ fromTokenRange (sm, lang, {sl1, sl1}),
881+ Role::Definition},
882+ lid},
883+ fromTokenRange (sm, lang, sr1)};
884884 type1.def .detailed_name = intern (info1->short_name );
885885 type1.def .short_name_size = int16_t (info1->short_name .size ());
886886 type1.def .kind = SymbolKind::TypeParameter;
0 commit comments