[PATCH] D21597: clang-format: [JS] recognize more type locations.
Martin Probst via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 22 07:42:07 PDT 2016
mprobst added inline comments.
================
Comment at: lib/Format/TokenAnnotator.cpp:480
@@ -471,1 +479,3 @@
+ void parseJSTypeDefinition() {
+ // `type Name = Type Expression;`
----------------
djasper wrote:
> Why is this necessary?
It is not, actually. I was chasing a wrong path here before understanding it was because of the assignment. Removed.
http://reviews.llvm.org/D21597
More information about the cfe-commits
mailing list