MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / AddFunctionCallTarget

Method AddFunctionCallTarget

source/val/function.h:237–239  ·  view source on GitHub ↗

Inserts id to the set of functions called from this function.

Source from the content-addressed store, hash-verified

235
236 // Inserts id to the set of functions called from this function.
237 void AddFunctionCallTarget(uint32_t call_target_id) {
238 function_call_targets_.insert(call_target_id);
239 }
240
241 // Returns a set with ids of all functions called from this function.
242 const std::set<uint32_t> function_call_targets() const {

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected