alexmurray / flycheck-clang-analyzer

Integrate Clang Static Analyzer with flycheck for on-the-fly static analysis in Emacs
35 stars 5 forks source link

Update "rest" to "cl-rest" #9

Closed dreac0nic closed 6 years ago

dreac0nic commented 6 years ago

Similar to my previous merge request #8 when installing flycheck-clang-analyzer via MELPA (20180215.345) with GNU emacs 25.3.1. Emacs reports rest as undefined. I changed this to the cl-lib defined cl-rest which should function identically.

I'm not sure if this change will effect backwards compatibility with those who have rest defined. If a strain of emacs still uses rest perhaps a more platform-free implementation would be better (perhaps an implementation using &rest).

alexmurray commented 6 years ago

Thanks.