aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Support/JSONParser.h6
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfAccelTable.h2
-rw-r--r--lib/ExecutionEngine/Interpreter/Interpreter.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/Support/JSONParser.h b/include/llvm/Support/JSONParser.h
index 39bda31738..11149f1e47 100644
--- a/include/llvm/Support/JSONParser.h
+++ b/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/lib/CodeGen/AsmPrinter/DwarfAccelTable.h b/lib/CodeGen/AsmPrinter/DwarfAccelTable.h
index 464ada4847..2278d4c784 100644
--- a/lib/CodeGen/AsmPrinter/DwarfAccelTable.h
+++ b/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/lib/ExecutionEngine/Interpreter/Interpreter.h b/lib/ExecutionEngine/Interpreter/Interpreter.h
index 7c8e71e14f..5a1af6d353 100644
--- a/lib/ExecutionEngine/Interpreter/Interpreter.h
+++ b/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.