This is an archive of the discontinued LLVM Phabricator instance.

clang-format: Add a fallback style to Emacs mode
ClosedPublic

Authored by dottedmag on Nov 2 2019, 11:23 AM.

Details

Summary

This allows one to enable clang-format-buffer on file save and avoid
reformatting files that are outside of any project with .clang-format style.

Diff Detail

Event Timeline

dottedmag created this revision.Nov 2 2019, 11:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 2 2019, 11:23 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
MyDeveloperDay accepted this revision.Nov 4 2019, 3:26 AM

I'm not an Emacs user, but this LGTM as much as I can read the rest of the file.

This revision is now accepted and ready to land.Nov 4 2019, 3:26 AM

I am not a committer, so please commit.

This revision was automatically updated to reflect the committed changes.