PDL: Unify the declaration scope for Packet and Struct declarations
Packet and Struct currently live in different scopes, which allows packet and struct to have the same name. This impacts the rust code generation as packets and structs are disambiguated by adding appropriate suffixes, which is undesirable. This change renames the few name conflicts in hci_packets.pdl that prevent an immediate enforcement of this new rule. Bug: 228327522 Test: Tested libbluetooth, root-canal target compilation Change-Id: I88bbd394b56dbf6ac24ead4dcdeddcd467f71426
Showing
- system/blueberry/tests/gd/cert/matchers.py 2 additions, 2 deletionssystem/blueberry/tests/gd/cert/matchers.py
- system/gd/btaa/linux_generic/hci_processor.cc 1 addition, 1 deletionsystem/gd/btaa/linux_generic/hci_processor.cc
- system/gd/hci/facade/le_scanning_manager_facade.cc 2 additions, 2 deletionssystem/gd/hci/facade/le_scanning_manager_facade.cc
- system/gd/hci/hci_packets.pdl 18 additions, 18 deletionssystem/gd/hci/hci_packets.pdl
- system/gd/hci/le_scanning_manager.cc 5 additions, 5 deletionssystem/gd/hci/le_scanning_manager.cc
- system/gd/hci/le_scanning_manager_test.cc 3 additions, 3 deletionssystem/gd/hci/le_scanning_manager_test.cc
- system/gd/neighbor/inquiry.cc 2 additions, 2 deletionssystem/gd/neighbor/inquiry.cc
- system/gd/packet/parser/doc/reference.md 14 additions, 0 deletionssystem/gd/packet/parser/doc/reference.md
- system/main/shim/btm.cc 2 additions, 2 deletionssystem/main/shim/btm.cc
- tools/rootcanal/model/controller/link_layer_controller.cc 4 additions, 4 deletionstools/rootcanal/model/controller/link_layer_controller.cc
Loading
Please register or sign in to comment