-//===--- JsonParser.h - Simple JSON parser ----------------------*- C++ -*-===//
+//===--- JSONParser.h - Simple JSON parser ----------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
//
//===----------------------------------------------------------------------===//
-#ifndef LLVM_CLANG_TOOLING_JSON_PARSER_H
-#define LLVM_CLANG_TOOLING_JSON_PARSER_H
+#ifndef LLVM_SUPPORT_JSON_PARSER_H
+#define LLVM_SUPPORT_JSON_PARSER_H
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/ErrorHandling.h"
-#include <string>
-
namespace llvm {
class JSONString;
} // end namespace llvm
-#endif // LLVM_CLANG_TOOLING_JSON_PARSER_H
+#endif // LLVM_SUPPORT_JSON_PARSER_H
-//===--- JsonParser.cpp - Simple JSON parser ------------------------------===//
+//===--- JSONParser.cpp - Simple JSON parser ------------------------------===//
//
// The LLVM Compiler Infrastructure
//
#include "llvm/ADT/Twine.h"
#include "llvm/Support/Casting.h"
-namespace llvm {
+using namespace llvm;
JSONParser::JSONParser(StringRef Input)
: Input(Input), Position(Input.begin()) {}
template <> JSONKeyValuePair *JSONParser::parseElement() {
return parseKeyValuePair();
}
-
-} // end namespace llvm