* Support for C++ files generated by protobuf/grpc
This changeset includes a sample generated file.
[grpc](http://grpc.io) is a high performance, open-source universal
RPC framework.
* Account for older gRPC protobuf plugin message
Hack is Facebook's dialect of PHP: http://hacklang.org/. This adds support for detecting it via the ".hh" file extension; although that extension techincally conflicts with C++ headers, the files look different enough that the existing classifier based on sample code has no trouble distinguising them.
This diff deliberately does not deal with detecting ".php" as another valid extension for Hack code. That's much trickier since the code looks basically identical to PHP to the classifier, and needs a different approach.
Several people mentioned in #467 that they were seeing their C++ projects
erroneously showing up as containing Objective C.
I've added a file from each of the problematic repositories:
- https://github.com/mp13on11/dwarf_mine
- https://github.com/miguelishawt/anax
- https://github.com/mholt/cppcsv
- https://github.com/coder543/libcanister
They all seem to be triggering on different aspects, since adding one sample
wasn't sufficient to correctly classify the others.
The discussion in #467 makes me think that perhaps Linuist might need to take
the rest of the repository into account when classifying ambiguous files.