Go to the documentation of this file.
28 #include "absl/strings/str_replace.h"
33 namespace protobuf = ::google::protobuf;
39 if (lastdot == std::string::npos) {
55 "/* This file was generated by upbc (the upb compiler) from the input\n"
60 " * Do not edit -- your changes will be discarded when the file is\n"
61 " * regenerated. */\n\n",
void EmitFileWarning(const protobuf::FileDescriptor *file, Output &output)
std::string StripExtension(absl::string_view fname)
std::string HeaderFilename(const google::protobuf::FileDescriptor *file)
void AsciiStrToUpper(std::string *s)
std::string ToPreproc(absl::string_view str)
std::string FileLayoutName(const google::protobuf::FileDescriptor *file)
std::string StrReplaceAll(absl::string_view s, strings_internal::FixedMapping replacements)
size_type find_last_of(string_view s, size_type pos=npos) const noexcept
std::string MessageName(const protobuf::Descriptor *descriptor)
static const char descriptor[1336]
constexpr string_view substr(size_type pos=0, size_type n=npos) const
std::string ToCIdent(absl::string_view str)
grpc
Author(s):
autogenerated on Fri May 16 2025 02:57:59