• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Protocol Buffers - Google's data interchange format
2 // Copyright 2023 Google LLC.  All rights reserved.
3 //
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file or at
6 // https://developers.google.com/open-source/licenses/bsd
7 
8 #ifndef PROTOBUF_COMPILER_HBP_GENERATOR_KEYWORDS_H
9 #define PROTOBUF_COMPILER_HBP_GENERATOR_KEYWORDS_H
10 
11 #include <string>
12 
13 #include "absl/strings/string_view.h"
14 
15 namespace google::protobuf::hpb_generator {
16 
17 // Resolves proto field name conflict with C++ reserved keywords.
18 std::string ResolveKeywordConflict(absl::string_view name);
19 
20 }  // namespace protobuf
21 }  // namespace google::hpb_generator
22 
23 #endif  // PROTOBUF_COMPILER_HBP_GENERATOR_KEYWORDS_H
24