Home
last modified time | relevance | path

Searched refs:fwd_decls (Results 1 – 12 of 12) sorted by relevance

/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_message_field.cc69 std::set<string>* fwd_decls) const { in DetermineForwardDeclarations()
70 ObjCObjFieldGenerator::DetermineForwardDeclarations(fwd_decls); in DetermineForwardDeclarations()
72 fwd_decls->insert("@class " + variable("storage_type")); in DetermineForwardDeclarations()
97 std::set<string>* fwd_decls) const { in DetermineForwardDeclarations()
98 RepeatedFieldGenerator::DetermineForwardDeclarations(fwd_decls); in DetermineForwardDeclarations()
100 fwd_decls->insert("@class " + variable("storage_type")); in DetermineForwardDeclarations()
Dobjectivec_enum_field.cc119 std::set<string>* fwd_decls) const { in DetermineForwardDeclarations()
120 SingleFieldGenerator::DetermineForwardDeclarations(fwd_decls); in DetermineForwardDeclarations()
127 fwd_decls->insert("GPB_ENUM_FWD_DECLARE(" + name + ")"); in DetermineForwardDeclarations()
Dobjectivec_map_field.cc162 std::set<string>* fwd_decls) const { in DetermineForwardDeclarations()
163 RepeatedFieldGenerator::DetermineForwardDeclarations(fwd_decls); in DetermineForwardDeclarations()
169 fwd_decls->insert("@class " + value_storage_type); in DetermineForwardDeclarations()
Dobjectivec_file.cc266 std::set<string> fwd_decls; in GenerateHeader() local
268 generator->DetermineForwardDeclarations(&fwd_decls); in GenerateHeader()
270 for (std::set<string>::const_iterator i(fwd_decls.begin()); in GenerateHeader()
271 i != fwd_decls.end(); ++i) { in GenerateHeader()
274 if (fwd_decls.begin() != fwd_decls.end()) { in GenerateHeader()
Dobjectivec_message_field.h58 virtual void DetermineForwardDeclarations(std::set<string>* fwd_decls) const;
74 virtual void DetermineForwardDeclarations(std::set<string>* fwd_decls) const;
Dobjectivec_map_field.h57 virtual void DetermineForwardDeclarations(std::set<string>* fwd_decls) const;
Dobjectivec_enum_field.h53 virtual void DetermineForwardDeclarations(std::set<string>* fwd_decls) const;
Dobjectivec_message.cc223 void MessageGenerator::DetermineForwardDeclarations(std::set<string>* fwd_decls) { in DetermineForwardDeclarations() argument
228 .DetermineForwardDeclarations(fwd_decls); in DetermineForwardDeclarations()
233 generator->DetermineForwardDeclarations(fwd_decls); in DetermineForwardDeclarations()
Dobjectivec_message.h66 void DetermineForwardDeclarations(std::set<string>* fwd_decls);
Dobjectivec_field.h68 virtual void DetermineForwardDeclarations(std::set<string>* fwd_decls) const;
Dobjectivec_field.cc180 std::set<string>* fwd_decls) const { in DetermineForwardDeclarations()
/external/perfetto/src/protozero/protoc_plugin/
Dcppgen_plugin.cc275 std::multimap<std::string /*namespace*/, std::string /*decl*/> fwd_decls; in Generate() local
277 auto add_fwd_decl = [&fwd_decls](FwdType cpp_type, in Generate()
284 fwd_decls.emplace(package, "class " + name + ";"); in Generate()
287 fwd_decls.emplace(package, "enum " + name + " : int;"); in Generate()
308 for (const auto& kv : fwd_decls) { in Generate()