[cfe-commits] [Review] First step towards PR13231 - vftable generation with -cxx-abi microsoft

John McCall rjmccall at apple.com
Thu Nov 29 10:10:15 PST 2012


On Nov 29, 2012, at 1:11 AM, Charles Davis <cdavis5x at gmail.com> wrote:
> On Nov 28, 2012, at 10:09 PM, Timur Iskhodzhanov wrote:
>> Thanks for the review!
>> 
>> On Thu, Nov 29, 2012 at 2:52 AM, John McCall <rjmccall at apple.com> wrote:
>>> +  // FIXME: Should probably add a layer of abstraction for vtable
>>> +  // generation, see http://llvm.org/bugs/show_bug.cgi?id=13231#c5
>>> +  bool MsABI = (Context.getTargetInfo().getCXXABI() == CXXABI_Microsoft);
>>> 
>>> Please don't litter the code with PR references.
>> Quick question - what's better?
>> (1)
>> // FIXME: Should probably add a layer of abstraction for vtable
>> // generation, see PR13231#c5
>> 
>> (2)
>> // FIXME: Should probably add a layer of abstraction for vtable generation.
>> (that's 75 chars - close to the line limit)
> Off hand, I'd say this one. He did say not to litter the code with PR references, which (1) does.

Yeah, this is what I meant.

John.



More information about the cfe-commits mailing list