clang-format: [JS] handle let (ES6).
Diff Detail
Diff Detail
Event Timeline
lib/Format/TokenAnnotator.cpp | ||
---|---|---|
2087 | Hm.. Or Line.First->isOneOf(Keywords.kw_var, KeyWords.kw_let). I like that a bit better, but don't really care. |
Paths
| Differential D13211
clang-format: [JS] handle let (ES6). ClosedPublic Authored by mprobst on Sep 28 2015, 6:20 AM.
Diff Detail Event Timelinemprobst updated this object. This revision is now accepted and ready to land.Sep 28 2015, 6:23 AM mprobst marked an inline comment as done. mprobst edited edge metadata. Comment ActionsUse isOneOf instead of startsWith.
Revision Contents
Diff 35859 lib/Format/FormatToken.h
lib/Format/TokenAnnotator.cpp
lib/Format/UnwrappedLineParser.cpp
unittests/Format/FormatTestJS.cpp
|
Hm.. Or Line.First->isOneOf(Keywords.kw_var, KeyWords.kw_let).
I like that a bit better, but don't really care.