mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-03 02:21:44 +00:00
14 lines
498 B
C++
14 lines
498 B
C++
#include "models.h"
|
|
|
|
// The `->` BASE receiver. Before structural receiver typing this emitted no
|
|
// CALLS edge to `save` at all, and `cpp-chain-call/` could not catch it because
|
|
// that fixture uses the value `.` form, which already worked.
|
|
void pointerArrowChain(Service* svc) {
|
|
svc->getUser()->save();
|
|
}
|
|
|
|
// Control: same chain, same `->save()` tail, value `.` on the base. Resolved
|
|
// before this work and must keep resolving.
|
|
void valueDotChain(Service svc) {
|
|
svc.getUser()->save();
|
|
}
|