Semantic seems to be able to do this, but I cannot get it to work as I would expect it to. For example, if I #include "Type.h" and declare Type t, using semantic-complete-analyze-inline when point is after t. consistently gives me the error
Cannot find types for `Type t'
instead of giving me all of the public (or otherwise appropriate) members of t.
How can I get the result I'm looking for here? Ideally, how can I use whatever Semantic might provide as a backend for Company?