Add ability to filter the translations for a given function by kind
commit37bb55e9c105cb7f4a6ba1cc7bda59fe0572aad7
authorGuilherme Ottoni <ottoni@fb.com>
Fri, 30 Jun 2017 23:53:42 +0000 (30 16:53 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Fri, 30 Jun 2017 23:55:16 +0000 (30 16:55 -0700)
treefee0a4f0b0d23af8f6367996be26e61600bb2818
parent30d14ada4dd852310de5401bb208b6d3d00d0502
Add ability to filter the translations for a given function by kind

Summary:
We had the ability to filter translations by kind when printing the top
translations, and this can also be useful to do this when analyzing functions
with hundreds of translations.  So just reuse the same filtering mechanism when
printing all translations for a given function.

Reviewed By: jano

Differential Revision: D5358438

fbshipit-source-id: ba82b3e7b273eaa417fdf5a71a5ad49aabbd54f4
hphp/tools/tc-print/tc-print.cpp