summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocLinearScan.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-12-19 07:05:23 +0000
committerDouglas Gregor <dgregor@apple.com>2009-12-19 07:05:23 +0000
commit740ab38bb76f31b6301982d96699a7afe9badb77 (patch)
tree4debfabce3bc366b2c2edaa5748173201d165007 /llvm/lib/CodeGen/RegAllocLinearScan.cpp
parent4ad5eba568c3362eb2d84421e51ce630fcff478d (diff)
downloadbcm5719-llvm-740ab38bb76f31b6301982d96699a7afe9badb77.tar.gz
bcm5719-llvm-740ab38bb76f31b6301982d96699a7afe9badb77.zip
Fix a bunch of little errors that Clang complains about when its being pedantic
llvm-svn: 91764
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocLinearScan.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAllocLinearScan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocLinearScan.cpp b/llvm/lib/CodeGen/RegAllocLinearScan.cpp
index c02d47b9a38..9e97d89c62e 100644
--- a/llvm/lib/CodeGen/RegAllocLinearScan.cpp
+++ b/llvm/lib/CodeGen/RegAllocLinearScan.cpp
@@ -891,7 +891,7 @@ namespace {
const RALinScan &Allocator;
public:
- WeightCompare(const RALinScan &Alloc) : Allocator(Alloc) {};
+ WeightCompare(const RALinScan &Alloc) : Allocator(Alloc) {}
typedef std::pair<unsigned, float> RegWeightPair;
bool operator()(const RegWeightPair &LHS, const RegWeightPair &RHS) const {
OpenPOWER on IntegriCloud