mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-27 05:10:41 +00:00
Silence -Wnon-virtual-dtor in llvm-stress.
This was making it hard to scan my builds for new warnings. The warning still fires with ToT clang. But if my workaround is unnecessary for whatever reason, feel free to revert. llvm-svn: 164201
This commit is contained in:
parent
3ed8eed2ed
commit
0210ec5e3f
@ -126,6 +126,10 @@ public:
|
||||
/// C'tor
|
||||
Modifier(BasicBlock *Block, PieceTable *PT, Random *R):
|
||||
BB(Block),PT(PT),Ran(R),Context(BB->getContext()) {}
|
||||
|
||||
/// virtual D'tor to silence warnings.
|
||||
virtual ~Modifier() {}
|
||||
|
||||
/// Add a new instruction.
|
||||
virtual void Act() = 0;
|
||||
/// Add N new instructions,
|
||||
|
Loading…
Reference in New Issue
Block a user