Displaying 4 results from an estimated 4 matches for "basicblockpath".
Did you mean:
basicblockpass
2004 Jun 24
4
[LLVMdev] -Woverloaded-virtual
...oid
llvm::BasicBlockPass::addToPassManager(llvm::PassManagerT<llvm::BasicBlock>*,
llvm::AnalysisUsage&)'
The problem is that "run" method is virtual in Path (with Module& as
argument), but another version (non-virtual), which takes BasicBlock& is
defined in BasicBlockPath.
Do you think this warning is worth fixing? One possible approach is to rename
virtual run(Module&) to runOnModule, but that would require updating all
derived classes :-(
- Volodya
2004 Jun 24
0
[LLVMdev] -Woverloaded-virtual
...ckPass::addToPassManager(llvm::PassManagerT<llvm::BasicBlock>*,
> llvm::AnalysisUsage&)'
>
> The problem is that "run" method is virtual in Path (with Module& as
> argument), but another version (non-virtual), which takes BasicBlock& is
> defined in BasicBlockPath.
Is that the only problem case?
> Do you think this warning is worth fixing? One possible approach is to
> rename virtual run(Module&) to runOnModule, but that would require
> updating all derived classes :-(
That is not a big deal necessarily. Is this the only case that currently...
2004 Jun 24
0
[LLVMdev] -Woverloaded-virtual
...ass::addToPassManager(llvm::PassManagerT<llvm::BasicBlock>*,
> llvm::AnalysisUsage&)'
>
> The problem is that "run" method is virtual in Path (with Module& as
> argument), but another version (non-virtual), which takes BasicBlock& is
> defined in BasicBlockPath.
>
> Do you think this warning is worth fixing? One possible approach is to rename
> virtual run(Module&) to runOnModule, but that would require updating all
> derived classes :-(
>
> - Volodya
>
>
> _______________________________________________
> LLVM Deve...
2004 Jun 24
1
[LLVMdev] -Woverloaded-virtual
...llvm::PassManagerT<llvm::BasicBlock>*,
> > llvm::AnalysisUsage&)'
> >
> > The problem is that "run" method is virtual in Path (with Module& as
> > argument), but another version (non-virtual), which takes BasicBlock& is
> > defined in BasicBlockPath.
> >
> > Do you think this warning is worth fixing? One possible approach is to rename
> > virtual run(Module&) to runOnModule, but that would require updating all
> > derived classes :-(
> >
> > - Volodya
> >
> >
> > _______________________...