This patch makes clang-format indent the subsequent lines created by breaking a
long javadoc annotated line.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
unittests/Format/FormatTestComments.cpp | ||
---|---|---|
3109 ↗ | (On Diff #157452) | as discussed, make sure to test for LK_JavaScript, because that affects this with comment pragmas (that we should probably disable). |
lib/Format/Format.cpp | ||
---|---|---|
814 ↗ | (On Diff #157681) | @exports isn't really a thing in JS, it is really @export. But more generally, where do you get stuff like @module from, and what is it supposed to do? google3 has @pintomodule, @mods and @modName, but I don't think those need special treatment. I think I'd drop everything except the @see here. |
lib/Format/Format.cpp | ||
---|---|---|
814 ↗ | (On Diff #157681) | There were existing tests having these. |
lib/Format/Format.cpp | ||
---|---|---|
814 ↗ | (On Diff #157681) | Please don't change the test code that uses @export, that's a commonly used Closure Compiler annotation. JSDoc isn't really a consistently applied standard, over time implementations have diverged a lot, so I'm afraid those docs might not apply to Closure Compiler's use of JSDoc. I don't think this hurts here, but I wouldn't expect anybody getting much use out of this either, so it might be cleaner to drop. |