MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / alias_shapes

Function alias_shapes

codegraph-kernel/src/cfnptr.rs:1294–1300  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1292 }
1293
1294 #[test]
1295 fn alias_shapes() {
1296 let f = facts("#define A redisCommand\n#define B struct foo\n#define C 0x12\n#define D(x) x\n");
1297 assert!(f.alias_names.contains(&"A".to_string()));
1298 assert!(f.alias_names.contains(&"B".to_string()));
1299 assert!(!f.alias_names.contains(&"C".to_string()));
1300 assert!(!f.alias_names.contains(&"D".to_string()));
1301 }
1302
1303 #[test]

Callers

nothing calls this directly

Calls 1

factsFunction · 0.85

Tested by

no test coverage detected