[cfe-users] clang-format: how to set default system-wide style file?

Zongheng Yang via cfe-users cfe-users at lists.llvm.org
Wed Apr 25 09:40:38 PDT 2018

+ cfe-dev@

On Sun, Apr 22, 2018 at 10:29 PM Zongheng Yang <zongheng.y at gmail.com> wrote:

> I have clang-format installed on my Mac, and I routinely use emacs'
> tramp-mode to edit remote C/C++ files.  In such scenarios, running
> `clang-format` using whatever commands emacs provides will
> * use some hidden, default style file
> * ignore the .clang-format file in the remote server, since
> clang-format.el is not tramp-mode-aware.
> (For instance, I've posted
> https://github.com/kljohann/clang-format.el/issues/5 too.)
> Question: is there a way to forcefully specify a system-wide default style
> file?
> Thanks,
> Zongheng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20180425/5495c047/attachment.html>

More information about the cfe-users mailing list