[PATCH] D143560: clang-format.el: fix warnings

David Truby via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 8 03:39:13 PST 2023


DavidTruby added a comment.

I think the other suggestion from the warning should be applied, as I don't think it _is_ intended that "quote" is matched by either of these. It would actually be odd if it did as you'd have two matches.



================
Comment at: clang/tools/clang-format/clang-format.el:96
                                                  'utf-8-unix)))
     (goto-char start)
     (delete-region start end)
----------------
phst wrote:
> same here, AIUI this should just be `quote'
I think you mean "just cursor" here


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143560



More information about the cfe-commits mailing list