1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Addressing style issues in JSON parser.

llvm-svn: 146968
This commit is contained in:
Manuel Klimek 2011-12-20 09:26:26 +00:00
parent 1663697160
commit e08a021292
2 changed files with 6 additions and 10 deletions

View File

@ -1,4 +1,4 @@
//===--- JsonParser.h - Simple JSON parser ----------------------*- C++ -*-===//
//===--- JSONParser.h - Simple JSON parser ----------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@ -17,15 +17,13 @@
//
//===----------------------------------------------------------------------===//
#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;
@ -441,4 +439,4 @@ StringRef::iterator JSONParser::parseNextElement(const AtomT *&Element) {
} // end namespace llvm
#endif // LLVM_CLANG_TOOLING_JSON_PARSER_H
#endif // LLVM_SUPPORT_JSON_PARSER_H

View File

@ -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