[cfe-dev] Adding arbitrary style file path support

Dan Ciliske via cfe-dev cfe-dev at lists.llvm.org
Thu Jun 15 13:59:52 PDT 2017


The Format library has no way to specify a specific file to be used as the style source. It climbs the path looking for ‘.clang_format’. This patch adds the ability to specify a specific file to use for clang Format utilities.

My apologies if something isn’t quite right with regards to standards or is missing, this is my first time working with clang and submitting a patch. Let me know what the issues are and I’ll see what I can do to take care of them.

This patch also addresses bug 28107: https://bugs.llvm.org//show_bug.cgi?id=28107 <https://bugs.llvm.org//show_bug.cgi?id=28107>

-Dan


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170615/ad966c57/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Format.patch
Type: application/octet-stream
Size: 2405 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170615/ad966c57/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170615/ad966c57/attachment-0001.html>


More information about the cfe-dev mailing list