aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
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 /clang/lib/CodeGen/CodeGenFunction.cpp
parent8813d5d2217117ff7cc60d399015ffc5347c43ee (diff)
downloadllvm-3f11941d8ab0bbd61bf8c05f08bdeebf46256d2d.zip
llvm-3f11941d8ab0bbd61bf8c05f08bdeebf46256d2d.tar.gz
llvm-3f11941d8ab0bbd61bf8c05f08bdeebf46256d2d.tar.bz2
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 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions