LLVM: llvm::sandboxir::GenericSetter< GetterFn, SetterFn > Class Template Reference (original) (raw)

template<auto GetterFn, auto SetterFn>
class llvm::sandboxir::GenericSetter< GetterFn, SetterFn >

This class can be used for tracking most instruction setters.

The two template arguments are:

Example: Tracker.track(std::make_unique< GenericSetter<&FooInst::get, &FooInst::set>>(I, Tracker));

Definition at line 277 of file Tracker.h.