Page MenuHomePhabricator

[clang] NFC: adjust indentation of statements with more than one lines
AcceptedPublic

Authored by zhouyizhou on Fri, Jun 11, 12:44 PM.

Details

Summary

Hi,

I think it will be more beautiful to adjust indentation of statements with more than one lines.

In function TreeTransform<Derived>::TransformDependentScopeDeclRefExpr
the second line of statement
NestedNameSpecifierLoc QualifierLoc \newline = getDerived().TransformNestedNameSpecifierLoc(E->getQualifierLoc());
is no more indent than the first line

There is a similar case in function TreeTransform<Derived>::TransformUnresolvedMemberExpr

Also I use clang-format to fix above functions

Thanks alot

Diff Detail

Event Timeline

zhouyizhou requested review of this revision.Fri, Jun 11, 12:44 PM
zhouyizhou created this revision.
zhouyizhou edited the summary of this revision. (Show Details)
zhouyizhou edited the summary of this revision. (Show Details)Fri, Jun 11, 1:20 PM
This revision is now accepted and ready to land.Sat, Jun 12, 1:28 AM