This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] Use configured IndentWidth instead of 2
ClosedPublic

Authored by thatguystone on Apr 1 2017, 5:28 PM.

Details

Reviewers
klimek
djasper
Summary

For JS projects that use a IdentWidth other than 2, this was causing the indent to be 2 when creating new objects in arrays.

Diff Detail

Repository
rL LLVM

Event Timeline

thatguystone created this revision.Apr 1 2017, 5:28 PM
thatguystone removed rL LLVM as the repository for this revision.
thatguystone removed a subscriber: djasper.
djasper accepted this revision.Apr 1 2017, 11:20 PM

looks good

This revision is now accepted and ready to land.Apr 1 2017, 11:20 PM
thatguystone closed this revision.Jun 23 2017, 1:13 PM

A similar fix was accepted in https://reviews.llvm.org/D33857