platform_build_blueprint/proptools
Zi Wang e5913c17e9 Remove unnecessary used names before reporting
When property a.b.c is not used, (also there is no a.* or a.b.* used)
"a", "a.b" and "a.b.c" are all in unusedNames.
removeUnnecessaryUnusedNames only keeps the last "a.b.c" as the
real unused name.

Test: TestNonExistentPropertyInSoongConfigModule, unpack_test.go and CI

Bug: 171232169
Change-Id: I861fa6933e558b07694ee5ff40ef549117d115ff
2024-01-04 12:24:39 -08:00
..
clone.go Add support for maps as properties 2021-05-26 09:54:22 -04:00
clone_test.go Fix TestCloneProperties for go 1.21 2023-11-08 22:07:58 -08:00
escape.go Optimize NinjaEscapeList to avoid allocating an output slice 2023-11-01 15:15:16 -07:00
escape_test.go Fix TestExternalShellEscaping and TestExternalShellEscapeIncludingSpaces on darwin 2023-12-15 16:30:59 -08:00
extend.go Add proptools helper functions. 2022-01-11 10:21:05 -05:00
extend_test.go Support AppendMatchingProperties on an embedded anonymous struct 2021-06-28 17:08:52 -07:00
filter.go Always shard structs if they would exceed maxNameSize even if unfiltered 2021-03-26 09:59:19 +00:00
filter_test.go Always shard structs if they would exceed maxNameSize even if unfiltered 2021-03-26 09:59:19 +00:00
proptools.go Add a new util to clear a property 2023-12-04 11:01:23 +09:00
proptools_test.go Add a new util to clear a property 2023-12-04 11:01:23 +09:00
tag.go Add support for maps as properties 2021-05-26 09:54:22 -04:00
tag_test.go propertyIndexesWithTag can handle slice of struct 2021-02-24 01:02:59 +09:00
typeequal.go Support nil pointers to structs in properties 2016-08-05 17:19:36 -07:00
typeequal_test.go Support nil pointers to structs in properties 2016-08-05 17:19:36 -07:00
unpack.go Remove unnecessary used names before reporting 2024-01-04 12:24:39 -08:00
unpack_test.go Remove unnecessary used names before reporting 2024-01-04 12:24:39 -08:00