aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2011-12-20 09:26:26 +0000
committerManuel Klimek <klimek@google.com>2011-12-20 09:26:26 +0000
commitc4850c9a061e40be8b8a75cbf55b0e3ed2d7e8b5 (patch)
tree10c23d0f19799165c1022b8278fab39445f9c1ac /lib/Support
parentcfb75fba735edd44841eb21c72c3a9736a7d9af2 (diff)
downloadexternal_llvm-c4850c9a061e40be8b8a75cbf55b0e3ed2d7e8b5.zip
external_llvm-c4850c9a061e40be8b8a75cbf55b0e3ed2d7e8b5.tar.gz
external_llvm-c4850c9a061e40be8b8a75cbf55b0e3ed2d7e8b5.tar.bz2
Addressing style issues in JSON parser.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146968 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-rw-r--r--lib/Support/JSONParser.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Support/JSONParser.cpp b/lib/Support/JSONParser.cpp
index 30c2afc..36da12d 100644
--- a/lib/Support/JSONParser.cpp
+++ b/lib/Support/JSONParser.cpp
@@ -1,4 +1,4 @@
-//===--- JsonParser.cpp - Simple JSON parser ------------------------------===//
+//===--- JSONParser.cpp - Simple JSON parser ------------------------------===//
//
// The LLVM Compiler Infrastructure
//
@@ -16,7 +16,7 @@
#include "llvm/ADT/Twine.h"
#include "llvm/Support/Casting.h"
-namespace llvm {
+using namespace llvm;
JSONParser::JSONParser(StringRef Input)
: Input(Input), Position(Input.begin()) {}
@@ -217,5 +217,3 @@ template <> JSONValue *JSONParser::parseElement() {
template <> JSONKeyValuePair *JSONParser::parseElement() {
return parseKeyValuePair();
}
-
-} // end namespace llvm