<p dir="ltr">It's needed because otherwise lit ignores the .h file, which is the configuration specified in the lit config in the parent directory.</p>
<br><div class="gmail_quote"><div dir="ltr">On Fri, Jan 26, 2018, 01:55 Krasimir Georgiev via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">krasimir requested changes to this revision.<br>
krasimir added inline comments.<br>
This revision now requires changes to proceed.<br>
<br>
<br>
================<br>
Comment at: test/Format/lit.local.cfg:1<br>
+# Suffixes supported by clang-format.<br>
+config.suffixes = ['.c', '.cc', '.cpp', '.h', '.m', '.mm', '.java', '.js',<br>
----------------<br>
Why is this needed?<br>
<br>
<br>
Repository:<br>
  rC Clang<br>
<br>
<a href="https://reviews.llvm.org/D42395" rel="noreferrer" target="_blank">https://reviews.llvm.org/D42395</a><br>
<br>
<br>
<br>
</blockquote></div>