Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Format/UnwrappedLineParser.cpp | ||
---|---|---|
708 ↗ | (On Diff #53178) | How about:
Like this, it is a bit hard to understand all the combinations of what's going on. |
lib/Format/UnwrappedLineParser.cpp | ||
---|---|---|
708 ↗ | (On Diff #53178) | Good point. I was under the impression initially that I had to check the token before getting the next here. |
Comment Actions
Looks good.
unittests/Format/FormatTestJS.cpp | ||
---|---|---|
689 ↗ | (On Diff #53190) | 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 ↗ | (On Diff #53190) | @ 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). |