From: Bill Wendling Date: Mon, 23 Jan 2012 22:55:02 +0000 (+0000) Subject: Remove extraneous ';'s. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=4302a4965c4fffcecee23210dd1910d8d2c88259;p=oota-llvm.git Remove extraneous ';'s. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148740 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/JSONParser.h b/include/llvm/Support/JSONParser.h index 39bda31738f..11149f1e47b 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 464ada48474..2278d4c784f 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 7c8e71e14f6..5a1af6d3536 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.