[all-commits] [llvm/llvm-project] 6bcd8d: clang-format: [JS] test declared fields.
Martin Probst via All-commits
all-commits at lists.llvm.org
Mon Nov 11 07:36:15 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 6bcd8d4a18fc0604a2297a626c1fc808cbfb7b9b
https://github.com/llvm/llvm-project/commit/6bcd8d4a18fc0604a2297a626c1fc808cbfb7b9b
Author: Martin Probst <martin at probst.io>
Date: 2019-11-11 (Mon, 11 Nov 2019)
Changed paths:
M clang/unittests/Format/FormatTestJS.cpp
Log Message:
-----------
clang-format: [JS] test declared fields.
Summary:
TypeScript now supports declaring fields:
class Foo {
declare field: string;
}
clang-format happens to already format this fine, so this change just
adds a regression test.
Reviewers: krasimir
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69972
More information about the All-commits
mailing list