================
@@ -958,9 +958,13 @@ template <> struct MappingTraits<FormatStyle> {
// For backward compatibility.
BracketAlignmentStyle LocalBAS = BAS_Align;
if (IsGoogleOrChromium) {
- if (Style.Language == FormatStyle::LK_JavaScript) {
+ FormatStyle::LanguageKind Language =
----------------
gedare wrote:
That's a good point. I think it has to be `Style.Language == LK_JavaScript ||
(Style.Language == LK_None && Language == LK_JavaScript)` to handle that
situation.
https://github.com/llvm/llvm-project/pull/108332
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits