@@ -687,7 +687,7 @@ class IndexDataConsumer : public index::IndexDataConsumer {
687687 IndexDataConsumer (IndexParam ¶m) : param(param) {}
688688 void initialize (ASTContext &ctx) override { this ->ctx = param.ctx = &ctx; }
689689#if LLVM_VERSION_MAJOR < 10 // llvmorg-10-init-12036-g3b9715cb219
690- # define handleDeclOccurrence handleDeclOccurence
690+ #define handleDeclOccurrence handleDeclOccurence
691691#endif
692692 bool handleDeclOccurrence (const Decl *d, index::SymbolRoleSet roles,
693693 ArrayRef<index::SymbolRelation> relations,
@@ -885,10 +885,10 @@ class IndexDataConsumer : public index::IndexDataConsumer {
885885 Usr usr1 = getUsr (d1, &info1);
886886 IndexType &type1 = db->toType (usr1);
887887 SourceLocation sl1 = d1->getLocation ();
888- type1.def .spell = {
889- Use{{ fromTokenRange (sm, lang, {sl1, sl1}), Role::Definition},
890- lid},
891- fromTokenRange (sm, lang, sr1)};
888+ type1.def .spell = {Use{{ fromTokenRange (sm, lang, {sl1, sl1}),
889+ Role::Definition},
890+ lid},
891+ fromTokenRange (sm, lang, sr1)};
892892 type1.def .detailed_name = intern (info1->short_name );
893893 type1.def .short_name_size = int16_t (info1->short_name .size ());
894894 type1.def .kind = SymbolKind::TypeParameter;
0 commit comments