Emacs trunk complained about:
Warning (comp): clang-format.el:87:15: Warning: Case 'replacement will match ‘quote’. If that’s intended, write (replacement quote) instead. Otherwise, don’t quote ‘replacement’. Warning (comp): clang-format.el:98:15: Warning: Case 'cursor will match ‘quote’. If that’s intended, write (cursor quote) instead. Otherwise, don’t quote ‘cursor’.
Fixed the syntax by applying the second suggestion.
Checked that the code works like before the change by stepping through the execution of the function.
Ran tests with Emacs 26.3 and Emacs trunk with:
$ emacs -Q -batch -l clang/tools/clang-format/clang-format.el -l clang/tools/clang-format/clang-format-test.el -f ert-run-tests-batch-and-exit
what's the change here?