This patch makes NoLineBreakFormatter to insert a break before tokens where
MustBreakBefore is true.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Are there cases where this makes a difference? If so, add a test. If not, add something to the patch description to clarify.
lib/Format/TokenAnnotator.cpp | ||
---|---|---|
2473 ↗ | (On Diff #99141) | Maybe add to the comment: "Import statements, especially in JavaScript, can be an exception to this rule." |