aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/JSONParser.h
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
commit4302a4965c4fffcecee23210dd1910d8d2c88259 (patch)
treec95ac8eebcffb7c71e421df1bbb2ab9a59b4c871 /include/llvm/Support/JSONParser.h
parentd0278d529b624fb93ec89da21836ea6f436e1b1e (diff)
downloadexternal_llvm-4302a4965c4fffcecee23210dd1910d8d2c88259.tar.gz
external_llvm-4302a4965c4fffcecee23210dd1910d8d2c88259.tar.bz2
external_llvm-4302a4965c4fffcecee23210dd1910d8d2c88259.zip
Remove extraneous ';'s.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148740 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/JSONParser.h')
-rw-r--r--include/llvm/Support/JSONParser.h6
1 files changed, 3 insertions, 3 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; }