[PATCH] D117197: [clang-format] Add new option to support adding a space between Javascript Union and Intersection types

Martin Probst via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 13 00:59:12 PST 2022


mprobst added inline comments.


================
Comment at: clang/lib/Format/TokenAnnotator.cpp:3524
       return false;
     if (Left.is(TT_JsTypeOperator) || Right.is(TT_JsTypeOperator))
       return false;
----------------
shouldn't you change this line here?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117197



More information about the cfe-commits mailing list