| // Protocol Buffers - Google's data interchange format |
| // Copyright 2023 Google LLC. All rights reserved. |
| // |
| // Use of this source code is governed by a BSD-style |
| // license that can be found in the LICENSE file or at |
| // https://developers.google.com/open-source/licenses/bsd |
| |
| #ifndef UPB_PROTOS_GENERATOR_KEYWORDS_H |
| #define UPB_PROTOS_GENERATOR_KEYWORDS_H |
| |
| #include <string> |
| |
| namespace upb { |
| namespace generator { |
| |
| // Resolves proto field name conflict with C++ reserved keywords. |
| std::string ResolveKeywordConflict(const std::string& name); |
| |
| } // namespace generator |
| } // namespace upb |
| |
| #endif // UPB_PROTOS_GENERATOR_KEYWORDS_H |