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

Vane, Edwin edwin.vane at intel.com
Mon Mar 18 11:50:33 PDT 2013

Any news on this transform?

From: Philip Dunstan [mailto:phil at philipdunstan.com]
Sent: Tuesday, February 05, 2013 2:02 PM
To: Dmitri Gribenko
Cc: cfe-dev at cs.uiuc.edu; Matthieu Monrocq; Vane, Edwin
Subject: Re: [cfe-dev] Adding -add-override functionality to cpp11-migrate tool

I've attached patches that include this new test:

Philip Dunstan
phil at philipdunstan.com<mailto:phil at philipdunstan.com>

On Tue, Feb 5, 2013 at 7:23 PM, Dmitri Gribenko <gribozavr at gmail.com<mailto:gribozavr at gmail.com>> wrote:
On Tue, Feb 5, 2013 at 7:44 PM, Philip Dunstan <phil at philipdunstan.com<mailto: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<mailto:gribozavr at gmail.com>>*/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130318/657cec96/attachment.html>

More information about the cfe-dev mailing list