summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-01-23 22:55:02 +0000
committerBill Wendling <isanbard@gmail.com>2012-01-23 22:55:02 +0000
commit11eeeff24f4355033e9e580858e716512b1e1094 (patch)
tree3b16a1d806614cb50222356c89a6569eae79f83f /llvm
parentec601f003a29c4721632b0ee5d70558c3d4a7418 (diff)
downloadbcm5719-llvm-11eeeff24f4355033e9e580858e716512b1e1094.tar.gz
bcm5719-llvm-11eeeff24f4355033e9e580858e716512b1e1094.zip
Remove extraneous ';'s.
llvm-svn: 148740
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Support/JSONParser.h6
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h2
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/Interpreter.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/llvm/include/llvm/Support/JSONParser.h b/llvm/include/llvm/Support/JSONParser.h
index 39bda31738f..11149f1e47b 100644
--- a/llvm/include/llvm/Support/JSONParser.h
+++ b/llvm/include/llvm/Support/JSONParser.h
@@ -174,7 +174,7 @@ public:
return true;
case JK_KeyValuePair:
return false;
- };
+ }
llvm_unreachable("Invalid JSONAtom kind");
}
static bool classof(const JSONValue *Value) { return true; }
@@ -190,7 +190,7 @@ public:
///
/// This is the unescaped content of the JSON text.
/// See http://www.ietf.org/rfc/rfc4627.txt for details.
- StringRef getRawText() const { return RawText; };
+ StringRef getRawText() const { return RawText; }
private:
JSONString(StringRef RawText) : JSONValue(JK_String), RawText(RawText) {}
@@ -380,7 +380,7 @@ public:
case JK_KeyValuePair:
case JK_String:
return false;
- };
+ }
llvm_unreachable("Invalid JSONAtom kind");
}
static bool classof(const JSONContainer *Container) { return true; }
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h b/llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h
index 464ada48474..2278d4c784f 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h
@@ -207,7 +207,7 @@ public:
HashDataContents(DIE *D, char Flags) :
Die(D),
- Flags(Flags) { };
+ Flags(Flags) { }
#ifndef NDEBUG
void print(raw_ostream &O) const {
O << " Offset: " << Die->getOffset() << "\n";
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
index 7c8e71e14f6..5a1af6d3536 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
+++ b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
@@ -119,7 +119,7 @@ public:
bool AbortOnFailure = true) {
// FIXME: not implemented.
return 0;
- };
+ }
/// recompileAndRelinkFunction - For the interpreter, functions are always
/// up-to-date.
OpenPOWER on IntegriCloud