commit
9e2d875dd6
2
.github/workflows/codespell.yml
vendored
2
.github/workflows/codespell.yml
vendored
@ -13,4 +13,4 @@ jobs:
|
||||
with:
|
||||
check_filenames: true
|
||||
skip: ./.git,./conformance/third_party,*.snk,*.pb,*.pb.cc,*.pb.h,./src/google/protobuf/testdata,./objectivec/Tests,./python/compatibility_tests/v2.5.0/tests/google/protobuf/internal
|
||||
ignore_words_list: "alow,alse,ba,cleare,copyable,cloneable,dedup,dur,errorprone,files',fo,fundementals,hel,importd,inout,leapyear,nd,ois,ons,parseable,process',te,testof,ue,unparseable,wasn,wee,gae,keyserver,objext,od"
|
||||
ignore_words_list: "alow,alse,ba,cleare,copyable,cloneable,dedup,dur,errorprone,files',fo,fundementals,hel,importd,inout,leapyear,nd,nin,ois,ons,parseable,process',te,testof,ue,unparseable,wasn,wee,gae,keyserver,objext,od"
|
||||
|
@ -82,7 +82,7 @@ static NSString *const kGPBDataCoderKey = @"GPBData";
|
||||
GPBExtensionDescriptor *autocreatorExtension_;
|
||||
|
||||
// Message can only be mutated from one thread. But some *readonly* operations
|
||||
// modifify internal state because they autocreate things. The
|
||||
// modify internal state because they autocreate things. The
|
||||
// autocreatedExtensionMap_ is one such structure. Access during readonly
|
||||
// operations is protected via this semaphore.
|
||||
// NOTE: OSSpinLock may seem like a good fit here but Apple engineers have
|
||||
|
@ -35,6 +35,7 @@
|
||||
#include <google/protobuf/compiler/objectivec/objectivec_helpers.h>
|
||||
#include <google/protobuf/io/printer.h>
|
||||
#include <google/protobuf/io/zero_copy_stream.h>
|
||||
#include <google/protobuf/stubs/strutil.h>
|
||||
|
||||
namespace google {
|
||||
namespace protobuf {
|
||||
|
@ -2255,7 +2255,7 @@ bool Generator::GenerateAll(const std::vector<const FileDescriptor*>& files,
|
||||
if (HasPrefixString(option_pair[0], "aggregate_metadata")) {
|
||||
options.aggregate_metadata = true;
|
||||
for (const auto& prefix : Split(option_pair[1], "#", false)) {
|
||||
options.aggregate_metadata_prefixes.insert(prefix);
|
||||
options.aggregate_metadata_prefixes.emplace(prefix);
|
||||
GOOGLE_LOG(INFO) << prefix;
|
||||
}
|
||||
} else if (option_pair[0] == "internal") {
|
||||
|
Loading…
Reference in New Issue
Block a user