git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151680
91177308-0d34-0410-b5e6-
96231b3b80d8
-//===-- llvm-stress.cpp - Generate random LL files to stress-test LLVM -----===//
+//===-- llvm-stress.cpp - Generate random LL files to stress-test LLVM ----===//
//
// The LLVM Compiler Infrastructure
//
//
// The LLVM Compiler Infrastructure
//
public:
/// C'tor
Modifier(BasicBlock *Block, PieceTable *PT, Random *R):
public:
/// C'tor
Modifier(BasicBlock *Block, PieceTable *PT, Random *R):
- BB(Block),PT(PT),Ran(R),Context(BB->getContext()) {};
+ BB(Block),PT(PT),Ran(R),Context(BB->getContext()) {}
/// Add a new instruction.
virtual void Act() = 0;
/// Add N new instructions,
/// Add a new instruction.
virtual void Act() = 0;
/// Add N new instructions,
};
struct LoadModifier: public Modifier {
};
struct LoadModifier: public Modifier {
- LoadModifier(BasicBlock *BB, PieceTable *PT, Random *R):Modifier(BB, PT, R) {};
+ LoadModifier(BasicBlock *BB, PieceTable *PT, Random *R):Modifier(BB, PT, R) {}
virtual void Act() {
// Try to use predefined pointers. If non exist, use undef pointer value;
Value *Ptr = getRandomPointerValue();
virtual void Act() {
// Try to use predefined pointers. If non exist, use undef pointer value;
Value *Ptr = getRandomPointerValue();