[llvm-commits] [llvm] r94161 - in /llvm/trunk: include/llvm/InstrTypes.h lib/VMCore/Instructions.cpp

Chris Lattner clattner at apple.com
Fri Jan 22 10:18:36 PST 2010


On Jan 22, 2010, at 8:41 AM, Daniel Dunbar wrote:

> On Thu, Jan 21, 2010 at 10:25 PM, Chris Lattner <sabre at nondot.org>  
> wrote:
>> Author: lattner
>> Date: Fri Jan 22 00:25:37 2010
>> New Revision: 94161
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=94161&view=rev
>> Log:
>> add an out-of-line virtual method to CmpInst to give it a home.
>
> Is there a way to detect these better? Could we get a compiler warning
> for it w/o false positives?

Yes, it would be trivial to detect classes with no out of line virtual  
functions.  Please file a bugzilla feature request.

-Chris



More information about the llvm-commits mailing list