Details
Diff Detail
Event Timeline
lib/Format/UnwrappedLineParser.cpp | ||
---|---|---|
708 | How about:
Like this, it is a bit hard to understand all the combinations of what's going on. |
lib/Format/UnwrappedLineParser.cpp | ||
---|---|---|
708 | Good point. I was under the impression initially that I had to check the token before getting the next here. |
Looks good.
unittests/Format/FormatTestJS.cpp | ||
---|---|---|
689 | Are there any other valid use cases of "@" in JS? If so, should we add a test for at least one of those? |
unittests/Format/FormatTestJS.cpp | ||
---|---|---|
689 | @ can only be used for annotations. Those can appear on classes, fields, methods, and parameters. I'll send another review to add tests for those, they are currently formatted properly (inheriting the Java support for them). |
How about:
Like this, it is a bit hard to understand all the combinations of what's going on.