Displaying 4 results from an estimated 4 matches for "addanalysisusage".
2004 Jun 24
4
[LLVMdev] -Woverloaded-virtual
I've just had some fun, because I wanted to override
FunctionPass::addAnalysisUsage, but forgot "const" after the method name --
so instead of overriding I've just created a new unrelated method.
After spending some time on this, I've decided to add -Woverloaded-virtual
option to compiler to catch such cases. However, it also gives some warnings
on LLVM code:...
2004 Jun 24
0
[LLVMdev] -Woverloaded-virtual
On Thu, 24 Jun 2004, Vladimir Prus wrote:
> I've just had some fun, because I wanted to override
> FunctionPass::addAnalysisUsage, but forgot "const" after the method name --
> so instead of overriding I've just created a new unrelated method.
Ya know, I think that everyone has done that at least once (myself
included)... on THAT VERY METHOD. grr :)
I definitely think that it would be a good idea to add th...
2004 Jun 24
0
[LLVMdev] -Woverloaded-virtual
...we need to file a bug to take care of the warnings
it produces so that LLVm is overloaded virtual clean, then we can turn
on checking for overloaded virtuals.
Reid.
On Thu, 2004-06-24 at 06:40, Vladimir Prus wrote:
> I've just had some fun, because I wanted to override
> FunctionPass::addAnalysisUsage, but forgot "const" after the method name --
> so instead of overriding I've just created a new unrelated method.
>
> After spending some time on this, I've decided to add -Woverloaded-virtual
> option to compiler to catch such cases. However, it also gives some war...
2004 Jun 24
1
[LLVMdev] -Woverloaded-virtual
...gt; so that LLVm is overloaded virtual clean, then we can turn on checking
> for overloaded virtuals.
This sounds like a great way to do it.
-Chris
> On Thu, 2004-06-24 at 06:40, Vladimir Prus wrote:
> > I've just had some fun, because I wanted to override
> > FunctionPass::addAnalysisUsage, but forgot "const" after the method name --
> > so instead of overriding I've just created a new unrelated method.
> >
> > After spending some time on this, I've decided to add -Woverloaded-virtual
> > option to compiler to catch such cases. However, it al...