[clang-format] NFC use recently added Style.isJavaScript()
authormydeveloperday <mydeveloperday@gmail.com>
Tue, 21 Dec 2021 14:24:12 +0000 (14:24 +0000)
committermydeveloperday <mydeveloperday@gmail.com>
Tue, 21 Dec 2021 14:24:12 +0000 (14:24 +0000)
commit142e79b8681bae42bebf3eef97fdaa30ce707c67
treeeaf27473f9849402ec4d07e6ccbb61da91b59436
parent6e28b86cc629c351b1f5d238146af1b6f7ceb785
[clang-format] NFC use recently added Style.isJavaScript()

Improve the readability of these if(Style==FormatStyle::LK_JavsScript) clauses
clang/lib/Format/BreakableToken.cpp
clang/lib/Format/ContinuationIndenter.cpp
clang/lib/Format/Format.cpp
clang/lib/Format/FormatTokenLexer.cpp
clang/lib/Format/TokenAnnotator.cpp
clang/lib/Format/UnwrappedLineFormatter.cpp
clang/lib/Format/UnwrappedLineParser.cpp