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

Jacek Olesiak via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 25 02:39:44 PST 2018


jolesiak requested changes to this revision.
jolesiak added inline comments.
This revision now requires changes to proceed.


================
Comment at: test/Format/lit.local.cfg:2-3
+# Suffixes supported by clang-format.
+config.suffixes = ['.cpp', '.h', '.m', '.mm', '.java', '.js', '.ts', '.proto',
+                   '.protodevel', '.pb.txt', '.textproto', '.asciipb', '.td']
----------------
Where does this list come from?
Shouldn't '.textpb', 'METADATA', '.c', '.cc' be added here?


Repository:
  rC Clang

https://reviews.llvm.org/D42395





More information about the cfe-commits mailing list