diff options
author | nechda <[email protected]> | 2024-09-10 22:57:12 +0300 |
---|---|---|
committer | nechda <[email protected]> | 2024-09-10 23:11:56 +0300 |
commit | d6722c76399d9b6813119aed315a69529f8d2193 (patch) | |
tree | eb58a502fb2cfe375bed4e27a43d5d3b976122e0 /contrib/libs/protoc/src/google/protobuf/compiler/cpp | |
parent | b949747c779320edae2654274dbffc7d17539717 (diff) |
Fix transitive includes
94b36f1500126afc596f281469a94124efa9cda4
Diffstat (limited to 'contrib/libs/protoc/src/google/protobuf/compiler/cpp')
-rw-r--r-- | contrib/libs/protoc/src/google/protobuf/compiler/cpp/file.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/libs/protoc/src/google/protobuf/compiler/cpp/file.cc b/contrib/libs/protoc/src/google/protobuf/compiler/cpp/file.cc index bb024eb59f5..68be3e56703 100644 --- a/contrib/libs/protoc/src/google/protobuf/compiler/cpp/file.cc +++ b/contrib/libs/protoc/src/google/protobuf/compiler/cpp/file.cc @@ -285,7 +285,7 @@ void FileGenerator::GenerateProtoHeader(io::Printer* p, } if (IsBootstrapProto(options_, file_)) { p->Emit({{"name", StripProto(file_->name())}}, R"cc( - // IWYU pragma: private, include "$name$.proto.h" + // IWYU pragma: private, include "$name$.pb.h" )cc"); } @@ -297,7 +297,7 @@ void FileGenerator::GenerateProtoHeader(io::Printer* p, for (int i = 0; i < file_->public_dependency_count(); ++i) { const FileDescriptor* dep = file_->public_dependency(i); p->Emit({{"name", StripProto(dep->name())}}, R"( - #include "$name$.proto.h" + #)" R"(include "$name$.pb.h" )"); } }}, @@ -485,7 +485,7 @@ void FileGenerator::GenerateSourceIncludes(io::Printer* p) { GetBootstrapBasename(options_, basename, &basename); } p->Emit({{"name", basename}}, R"( - #include "$name$.proto.h" + #)" R"(include "$name$.pb.h" )"); } } |