[PATCH] D91078: [clang-format] do not break before @tags in JS comments

Martin Probst via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 10 00:29:48 PST 2020


mprobst added a comment.

For posterity: there was a question whether this is legal syntax in JSDoc in the first place (e.g. whether it should be escaped). That remains unclear - Closure Compiler parser however does ignore JSDoc tags if the line does not start with an `@` tag. So the safe thing is to do what this revision does, avoid wrapping.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D91078/new/

https://reviews.llvm.org/D91078



More information about the cfe-commits mailing list