from bug 359067 Reproducible: Always Steps to Reproduce: #include <string> class someClass { std::string const & getFoo(); }; use implement function Actual Results: const std::string & someClass::getFoo() { } Expected Results: std::string const & someClass::getFoo() { }