[cfe-dev] Adding -add-override functionality to cpp11-migrate tool

Dmitri Gribenko gribozavr at gmail.com
Tue Feb 5 10:23:43 PST 2013

On Tue, Feb 5, 2013 at 7:44 PM, Philip Dunstan <phil at philipdunstan.com> wrote:
> I haven't modified yet how the insertion point for the override keyword is
> calculated. Dmitri suggested FunctionTypeLoc::getRParenLoc() but I don't
> think that this will work if there is a trailing const keyword or deferred
> return type.

Could you please add a test with a trailing return type anyway?

class A {
  virtual int h();

class B {
  auto h() -> int;


(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/

More information about the cfe-dev mailing list