https://github.com/llvm/llvm-project/issues/49846
Fixes #49846
AlignConsecutiveDeclarations is not working for "let" and "const" in JavaScript
let letVariable = 5;
const constVariable = 10;
Paths
| Differential D115990
AlignConsecutiveDeclarations not working for 'const' keyword in JavsScript ClosedPublic Authored by MyDeveloperDay on Dec 18 2021, 7:19 AM.
Details Summary https://github.com/llvm/llvm-project/issues/49846 Fixes #49846 AlignConsecutiveDeclarations is not working for "let" and "const" in JavaScript let letVariable = 5;
Diff Detail
Unit TestsFailed Event TimelineMyDeveloperDay created this revision. This revision is now accepted and ready to land.Dec 19 2021, 9:53 AM
This revision was landed with ongoing or failed builds.Dec 21 2021, 5:58 AM Closed by commit rG6e28b86cc629: AlignConsecutiveDeclarations not working for 'const' keyword in JavsScript (authored by MyDeveloperDay). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 395291 clang/include/clang/Format/Format.h
clang/lib/Format/TokenAnnotator.cpp
clang/unittests/Format/FormatTestJS.cpp
|
clang-format: please reformat the code