mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-14 16:36:55 +00:00
Delete IDLOptions::lang (#6841)
Co-authored-by: Casper Neo <cneo@google.com>
This commit is contained in:
@@ -616,8 +616,6 @@ struct IDLOptions {
|
||||
kMAX
|
||||
};
|
||||
|
||||
Language lang;
|
||||
|
||||
enum MiniReflect { kNone, kTypes, kTypesAndNames };
|
||||
|
||||
MiniReflect mini_reflect;
|
||||
@@ -681,7 +679,6 @@ struct IDLOptions {
|
||||
filename_extension(),
|
||||
no_warnings(false),
|
||||
project_root(""),
|
||||
lang(IDLOptions::kJava),
|
||||
mini_reflect(IDLOptions::kNone),
|
||||
require_explicit_ids(false),
|
||||
lang_to_generate(0),
|
||||
@@ -1162,9 +1159,10 @@ extern std::string RustMakeRule(const Parser &parser, const std::string &path,
|
||||
|
||||
// Generate a make rule for generated Java or C# files.
|
||||
// See code_generators.cpp.
|
||||
extern std::string JavaCSharpMakeRule(const Parser &parser,
|
||||
const std::string &path,
|
||||
const std::string &file_name);
|
||||
extern std::string CSharpMakeRule(const Parser &parser, const std::string &path,
|
||||
const std::string &file_name);
|
||||
extern std::string JavaMakeRule(const Parser &parser, const std::string &path,
|
||||
const std::string &file_name);
|
||||
|
||||
// Generate a make rule for the generated text (JSON) files.
|
||||
// See idl_gen_text.cpp.
|
||||
|
||||
Reference in New Issue
Block a user