attempting to upgrade to proto 3.5
This commit is contained in:
1 parent
eb1b42a5e8
commit
cc3510c6c2
368 files changed
+35764
-24867
No files matched your search
@@ -50,7 +50,7 @@ Context::Context(const FileDescriptor* file, const Options& options)
|
||||
Context::~Context() {
|
||||
}
|
||||
|
||||
ClassNameResolver* Context::GetNameResolver() {
|
||||
ClassNameResolver* Context::GetNameResolver() const {
|
||||
return name_resolver_.get();
|
||||
}
|
||||
|
||||
@@ -154,7 +154,7 @@ void Context::InitializeFieldGeneratorInfoForFields(
|
||||
for (int i = 0; i < fields.size(); ++i) {
|
||||
const FieldDescriptor* field = fields[i];
|
||||
FieldGeneratorInfo info;
|
||||
info.name = UnderscoresToCamelCase(field);
|
||||
info.name = CamelCaseFieldName(field);
|
||||
info.capitalized_name = UnderscoresToCapitalizedCamelCase(field);
|
||||
// For fields conflicting with some other fields, we append the field
|
||||
// number to their field names in generated code to avoid conflicts.
|
||||
|
||||
Reference in new issue
Block a user