Remove unused declarations (#4578)
This commit is contained in:
parent
d7b1d418ee
commit
a056402f56
|
@ -631,7 +631,6 @@ class Parser : public ParserState {
|
||||||
FLATBUFFERS_CHECKED_ERROR ParseTable(const StructDef &struct_def,
|
FLATBUFFERS_CHECKED_ERROR ParseTable(const StructDef &struct_def,
|
||||||
std::string *value, uoffset_t *ovalue);
|
std::string *value, uoffset_t *ovalue);
|
||||||
void SerializeStruct(const StructDef &struct_def, const Value &val);
|
void SerializeStruct(const StructDef &struct_def, const Value &val);
|
||||||
void AddVector(bool sortbysize, int count);
|
|
||||||
// clang-format off
|
// clang-format off
|
||||||
#if defined(FLATBUFFERS_CPP98_STL)
|
#if defined(FLATBUFFERS_CPP98_STL)
|
||||||
typedef CheckedError (*ParseVectorDelimitersBody)(size_t &count,
|
typedef CheckedError (*ParseVectorDelimitersBody)(size_t &count,
|
||||||
|
@ -751,15 +750,12 @@ extern bool GenerateBinary(const Parser &parser,
|
||||||
|
|
||||||
// Generate a C++ header from the definitions in the Parser object.
|
// Generate a C++ header from the definitions in the Parser object.
|
||||||
// See idl_gen_cpp.
|
// See idl_gen_cpp.
|
||||||
extern std::string GenerateCPP(const Parser &parser,
|
|
||||||
const std::string &include_guard_ident);
|
|
||||||
extern bool GenerateCPP(const Parser &parser,
|
extern bool GenerateCPP(const Parser &parser,
|
||||||
const std::string &path,
|
const std::string &path,
|
||||||
const std::string &file_name);
|
const std::string &file_name);
|
||||||
|
|
||||||
// Generate JavaScript or TypeScript code from the definitions in the Parser object.
|
// Generate JavaScript or TypeScript code from the definitions in the Parser object.
|
||||||
// See idl_gen_js.
|
// See idl_gen_js.
|
||||||
extern std::string GenerateJS(const Parser &parser);
|
|
||||||
extern bool GenerateJS(const Parser &parser,
|
extern bool GenerateJS(const Parser &parser,
|
||||||
const std::string &path,
|
const std::string &path,
|
||||||
const std::string &file_name);
|
const std::string &file_name);
|
||||||
|
@ -770,12 +766,6 @@ extern bool GenerateGo(const Parser &parser,
|
||||||
const std::string &path,
|
const std::string &path,
|
||||||
const std::string &file_name);
|
const std::string &file_name);
|
||||||
|
|
||||||
// Generate Java files from the definitions in the Parser object.
|
|
||||||
// See idl_gen_java.cpp.
|
|
||||||
extern bool GenerateJava(const Parser &parser,
|
|
||||||
const std::string &path,
|
|
||||||
const std::string &file_name);
|
|
||||||
|
|
||||||
// Generate Php code from the definitions in the Parser object.
|
// Generate Php code from the definitions in the Parser object.
|
||||||
// See idl_gen_php.
|
// See idl_gen_php.
|
||||||
extern bool GeneratePhp(const Parser &parser,
|
extern bool GeneratePhp(const Parser &parser,
|
||||||
|
@ -794,12 +784,6 @@ extern bool GenerateJsonSchema(const Parser &parser,
|
||||||
const std::string &path,
|
const std::string &path,
|
||||||
const std::string &file_name);
|
const std::string &file_name);
|
||||||
|
|
||||||
// Generate C# files from the definitions in the Parser object.
|
|
||||||
// See idl_gen_csharp.cpp.
|
|
||||||
extern bool GenerateCSharp(const Parser &parser,
|
|
||||||
const std::string &path,
|
|
||||||
const std::string &file_name);
|
|
||||||
|
|
||||||
// Generate Java/C#/.. files from the definitions in the Parser object.
|
// Generate Java/C#/.. files from the definitions in the Parser object.
|
||||||
// See idl_gen_general.cpp.
|
// See idl_gen_general.cpp.
|
||||||
extern bool GenerateGeneral(const Parser &parser,
|
extern bool GenerateGeneral(const Parser &parser,
|
||||||
|
|
Loading…
Reference in New Issue