Make sure we use google::protobuf::compiler::cpp::FieldName
where needed when emitting code
#14505
Labels
cpp: generator
Issues related to the C++ micro-generator
type: cleanup
An internal cleanup or hygiene concern.
In
generator/internal/http_option_utils.cc
, and maybe some other places, we emit code that uses the field name directly without first running it throughgoogle::protobuf::compiler::cpp::FieldName
which handles the case where a field name is a C++ keyword or other disallowed token.The text was updated successfully, but these errors were encountered: