clang format, indent pp directives

This commit is contained in:
Ludovic Jozeau 2020-07-20 12:45:51 +02:00
parent cb08df44aa
commit 8bd9cf07ff
9 changed files with 55 additions and 54 deletions

View File

@ -1 +1,2 @@
BasedOnStyle: LLVM BasedOnStyle: LLVM
IndentPPDirectives: AfterHash

View File

@ -885,8 +885,8 @@ public:
Usr usr1 = getUsr(d1, &info1); Usr usr1 = getUsr(d1, &info1);
IndexType &type1 = db->toType(usr1); IndexType &type1 = db->toType(usr1);
SourceLocation sl1 = d1->getLocation(); SourceLocation sl1 = d1->getLocation();
type1.def.spell = { type1.def.spell = {Use{{fromTokenRange(sm, lang, {sl1, sl1}),
Use{{fromTokenRange(sm, lang, {sl1, sl1}), Role::Definition}, Role::Definition},
lid}, lid},
fromTokenRange(sm, lang, sr1)}; fromTokenRange(sm, lang, sr1)};
type1.def.detailed_name = intern(info1->short_name); type1.def.detailed_name = intern(info1->short_name);