chromium/tools/clang/blink_gc_plugin/tests/off-heap-collections-of-members.txt

off-heap-collections-of-members.cpp:49:3: warning: [blink-gc] Disallowed collection 'set<cppgc::internal::BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>>' found; 'BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  std::set<Member<Base>> set_;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:50:3: warning: [blink-gc] Disallowed collection 'vector<cppgc::internal::BasicMember<blink::Base, cppgc::internal::WeakMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>>' found; 'BasicMember<blink::Base, cppgc::internal::WeakMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  std::vector<WeakMember<Base>> vector_;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:51:3: warning: [blink-gc] Disallowed collection 'map<cppgc::internal::BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>, int>' found; 'BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  std::map<Member<Base>, int> map_key_;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:52:3: warning: [blink-gc] Disallowed collection 'unordered_map<int, cppgc::internal::BasicMember<blink::Base, cppgc::internal::WeakMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>>' found; 'BasicMember<blink::Base, cppgc::internal::WeakMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  std::unordered_map<int, WeakMember<Base>> map_value_;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:53:3: warning: [blink-gc] Disallowed collection 'unordered_set<cppgc::internal::BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl> *>' found; 'BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  std::unordered_set<Member<Base>*> set_ptr_;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:54:3: warning: [blink-gc] Disallowed collection 'vector<cppgc::internal::BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl> &>' found; 'BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  std::vector<Member<Base>&> vector_ref_;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:55:3: warning: [blink-gc] Disallowed collection 'map<const cppgc::internal::BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>, int>' found; 'BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  std::map<const Member<Base>, int> map_const_;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:56:3: warning: [blink-gc] Disallowed collection 'vector<std::pair<cppgc::internal::BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>, int>>' found; 'BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  std::vector<std::pair<Member<Base>, int>> vector_pair_;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:60:3: warning: [blink-gc] Disallowed collection 'HashSet<cppgc::internal::BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>>' found; 'BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  WTF::HashSet<Member<Base>> wtf_hash_set_;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:61:3: warning: [blink-gc] Disallowed collection 'Deque<cppgc::internal::BasicMember<blink::Base, cppgc::internal::WeakMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>>' found; 'BasicMember<blink::Base, cppgc::internal::WeakMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  WTF::Deque<WeakMember<Base>> wtf_deque_;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:62:3: warning: [blink-gc] Disallowed collection 'Vector<cppgc::internal::BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>>' found; 'BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  WTF::Vector<Member<Base>> wtf_vector_;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:63:3: warning: [blink-gc] Disallowed collection 'LinkedHashSet<cppgc::internal::BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl> *>' found; 'BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  WTF::LinkedHashSet<Member<Base>*> wtf_linked_hash_set_;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:64:3: warning: [blink-gc] Disallowed collection 'HashCountedSet<cppgc::internal::BasicMember<blink::Base, cppgc::internal::WeakMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl> &>' found; 'BasicMember<blink::Base, cppgc::internal::WeakMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  WTF::HashCountedSet<WeakMember<Base>&> wtf_hash_counted_set_;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:65:3: warning: [blink-gc] Disallowed collection 'HashMap<cppgc::internal::BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>, bool>' found; 'BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  WTF::HashMap<Member<Base>, bool> wtf_hash_map_key_;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:66:3: warning: [blink-gc] Disallowed collection 'HashMap<double, const cppgc::internal::BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>>' found; 'BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  WTF::HashMap<double, const Member<Base>> wtf_hash_map_value_;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:97:3: warning: [blink-gc] Disallowed collection 'set<cppgc::internal::BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>>' found; 'BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  std::set<Member<Base>> set;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:99:3: warning: [blink-gc] Disallowed collection 'vector<cppgc::internal::BasicMember<blink::Base, cppgc::internal::WeakMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>>' found; 'BasicMember<blink::Base, cppgc::internal::WeakMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  std::vector<WeakMember<Base>> vector;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:101:3: warning: [blink-gc] Disallowed collection 'map<cppgc::internal::BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>, int>' found; 'BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  std::map<Member<Base>, int> map_key;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:103:3: warning: [blink-gc] Disallowed collection 'unordered_map<int, cppgc::internal::BasicMember<blink::Base, cppgc::internal::WeakMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>>' found; 'BasicMember<blink::Base, cppgc::internal::WeakMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  std::unordered_map<int, WeakMember<Base>> map_value;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:105:3: warning: [blink-gc] Disallowed collection 'unordered_set<cppgc::internal::BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl> *>' found; 'BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  std::unordered_set<Member<Base>*> set_ptr;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:107:3: warning: [blink-gc] Disallowed collection 'vector<cppgc::internal::BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl> &>' found; 'BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  std::vector<Member<Base>&> vector_ref;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:109:3: warning: [blink-gc] Disallowed collection 'map<const cppgc::internal::BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>, int>' found; 'BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  std::map<const Member<Base>, int> map_const;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:111:3: warning: [blink-gc] Disallowed collection 'vector<std::pair<cppgc::internal::BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>, int>>' found; 'BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  std::vector<std::pair<Member<Base>, int>> vector_pair;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:115:3: warning: [blink-gc] Disallowed collection 'HashSet<cppgc::internal::BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>>' found; 'BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  WTF::HashSet<Member<Base>> wtf_hash_set;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:116:3: warning: [blink-gc] Disallowed collection 'Deque<cppgc::internal::BasicMember<blink::Base, cppgc::internal::WeakMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>>' found; 'BasicMember<blink::Base, cppgc::internal::WeakMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  WTF::Deque<WeakMember<Base>> wtf_deque;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:117:3: warning: [blink-gc] Disallowed collection 'Vector<cppgc::internal::BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>>' found; 'BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  WTF::Vector<Member<Base>> wtf_vector;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:118:3: warning: [blink-gc] Disallowed collection 'LinkedHashSet<cppgc::internal::BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl> *>' found; 'BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  WTF::LinkedHashSet<Member<Base>*> wtf_linked_hash_set;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:119:3: warning: [blink-gc] Disallowed collection 'HashCountedSet<cppgc::internal::BasicMember<blink::Base, cppgc::internal::WeakMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl> &>' found; 'BasicMember<blink::Base, cppgc::internal::WeakMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  WTF::HashCountedSet<WeakMember<Base>&> wtf_hash_counted_set;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:120:3: warning: [blink-gc] Disallowed collection 'HashMap<cppgc::internal::BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>, bool>' found; 'BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  WTF::HashMap<Member<Base>, bool> wtf_hash_map_key;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
off-heap-collections-of-members.cpp:121:3: warning: [blink-gc] Disallowed collection 'HashMap<double, const cppgc::internal::BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>>' found; 'BasicMember<blink::Base, cppgc::internal::StrongMemberTag, cppgc::internal::WriteBarrierPolicyImpl, cppgc::internal::CheckingPolicyImpl, cppgc::internal::StorateTypeImpl>' is a Member type. Use heap collections to hold Members.
  WTF::HashMap<double, const Member<Base>> wtf_hash_map_value;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 warnings generated.