[PATCH] D42395: [clang-format] Fix bug where -dump-config failed on ObjC header

Ben Hamilton via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 26 06:40:26 PST 2018


It's needed because otherwise lit ignores the .h file, which is the
configuration specified in the lit config in the parent directory.

On Fri, Jan 26, 2018, 01:55 Krasimir Georgiev via Phabricator <
reviews at reviews.llvm.org> wrote:

> krasimir requested changes to this revision.
> krasimir added inline comments.
> This revision now requires changes to proceed.
>
>
> ================
> Comment at: test/Format/lit.local.cfg:1
> +# Suffixes supported by clang-format.
> +config.suffixes = ['.c', '.cc', '.cpp', '.h', '.m', '.mm', '.java', '.js',
> ----------------
> Why is this needed?
>
>
> Repository:
>   rC Clang
>
> https://reviews.llvm.org/D42395
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180126/2d4929fc/attachment.html>


More information about the cfe-commits mailing list