summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-24 17:04:05 +0000
committerChris Lattner <sabre@nondot.org>2006-05-24 17:04:05 +0000
commitaa2372562e39758d0b8fca392fd636fe55b23cc9 (patch)
treefea9f96191ae654bc163e553eea13431887046ca /llvm/lib/Support
parent5114596467e0b7024b549c27590631337914d6b0 (diff)
downloadbcm5719-llvm-aa2372562e39758d0b8fca392fd636fe55b23cc9.tar.gz
bcm5719-llvm-aa2372562e39758d0b8fca392fd636fe55b23cc9.zip
Patches to make the LLVM sources more -pedantic clean. Patch provided
by Anton Korobeynikov! This is a step towards closing PR786. llvm-svn: 28447
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/Compressor.cpp2
-rw-r--r--llvm/lib/Support/IsInf.cpp2
-rw-r--r--llvm/lib/Support/IsNAN.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Support/Compressor.cpp b/llvm/lib/Support/Compressor.cpp
index 1233cf4f0a0..99bfd676c05 100644
--- a/llvm/lib/Support/Compressor.cpp
+++ b/llvm/lib/Support/Compressor.cpp
@@ -23,7 +23,7 @@ using namespace llvm;
enum CompressionTypes {
COMP_TYPE_NONE = '0',
- COMP_TYPE_BZIP2 = '2',
+ COMP_TYPE_BZIP2 = '2'
};
static int getdata(char*& buffer, size_t &size,
diff --git a/llvm/lib/Support/IsInf.cpp b/llvm/lib/Support/IsInf.cpp
index 5160110bc2e..39c11cd7a66 100644
--- a/llvm/lib/Support/IsInf.cpp
+++ b/llvm/lib/Support/IsInf.cpp
@@ -42,4 +42,4 @@ namespace llvm {
int IsInf (float f) { return isinf (f); }
int IsInf (double d) { return isinf (d); }
-}; // end namespace llvm;
+} // end namespace llvm;
diff --git a/llvm/lib/Support/IsNAN.cpp b/llvm/lib/Support/IsNAN.cpp
index 3300b7b47f6..2ed2b284c7d 100644
--- a/llvm/lib/Support/IsNAN.cpp
+++ b/llvm/lib/Support/IsNAN.cpp
@@ -31,4 +31,4 @@ namespace llvm {
int IsNAN (float f) { return isnan (f); }
int IsNAN (double d) { return isnan (d); }
-}; // end namespace llvm;
+} // end namespace llvm;
OpenPOWER on IntegriCloud