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 < revi...@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 > > > >
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits