Add .h++ extension for header files
This fixes (which I just opened).
Let me know if changes are needed. I have essentially followed what I saw in (which fixes which is a similar issue affecting source files with `.c++` extension).
Closes
@@ -41,7 +41,8 @@ public final class CppFileTypes {
FileTypeSet.of(CppFileTypes.CPP_SOURCE, CppFileTypes.C_SOURCE);
public static final FileType CPP_HEADER =
- FileType.of(".h", ".hh", ".hpp", ".ipp", ".hxx", ".inc", ".inl", ".tlh", ".tli", ".H");
+ FileType.of(
+ ".h", ".hh", ".hpp", ".ipp", ".hxx", ".h++", ".inc", ".inl", ".tlh", ".tli", ".H");
public static final FileType PCH = FileType.of(".pch");
public static final FileTypeSet OBJC_HEADER = FileTypeSet.of(CPP_HEADER, PCH);
