summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2017-01-31 14:39:33 +0000
committerDaniel Jasper <djasper@google.com>2017-01-31 14:39:33 +0000
commit3f11941d8ab0bbd61bf8c05f08bdeebf46256d2d (patch)
treec8a967ba4ae4ec0a9a80d7fa66b6e42b56f8f0c2 /llvm/lib/Target
parent8813d5d2217117ff7cc60d399015ffc5347c43ee (diff)
downloadbcm5719-llvm-3f11941d8ab0bbd61bf8c05f08bdeebf46256d2d.tar.gz
bcm5719-llvm-3f11941d8ab0bbd61bf8c05f08bdeebf46256d2d.zip
clang-format: [JS] Indent expressions in ${} relative to their surrounding
This only affects expressions inside ${} scopes of template strings. Here, we want to indent relative to the surrounding template string and not the surrounding expression. Otherwise, this can create quite a mess. Before: var f = ` aaaaaaaaaaaaaaaaaa: ${someFunction( aaaaa + // bbbb)}`; After: var f = ` aaaaaaaaaaaaaaaaaa: ${someFunction( aaaaa + // bbbb)}`; llvm-svn: 293636
Diffstat (limited to 'llvm/lib/Target')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud