summaryrefslogtreecommitdiff
path: root/tools/llvm-stress
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2012-02-29 00:20:33 +0000
committerDaniel Dunbar <daniel@zuster.org>2012-02-29 00:20:33 +0000
commitb6f0625de2d4a733dab2b63f6c54f59c84cefee0 (patch)
treec3cdb91f6d0e7cbc6b427d111b6fc0b591bc5135 /tools/llvm-stress
parent0ffe6984297ece417e591003674d4466a201eb2a (diff)
Fix some stray semi-colons.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151680 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-stress')
-rw-r--r--tools/llvm-stress/llvm-stress.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/llvm-stress/llvm-stress.cpp b/tools/llvm-stress/llvm-stress.cpp
index 646379bdbf0..c0950591b1d 100644
--- a/tools/llvm-stress/llvm-stress.cpp
+++ b/tools/llvm-stress/llvm-stress.cpp
@@ -1,4 +1,4 @@
-//===-- 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
//
@@ -105,7 +105,7 @@ struct Modifier {
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,
@@ -256,7 +256,7 @@ protected:
};
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();