MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Hpp / markExtendedStructs

Method markExtendedStructs

generator/VulkanHppGenerator.cpp:12938–12951  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12936}
12937
12938void VulkanHppGenerator::markExtendedStructs()
12939{
12940 for ( auto const & s : m_structs )
12941 {
12942 for ( auto const & extends : s.second.structExtends )
12943 {
12944 auto structIt = findByNameOrAlias( m_structs, extends );
12945 checkForError( structIt != m_structs.end(), s.second.xmlLine, "struct <" + s.first + "> extends unknown struct <" + extends + ">" );
12946 checkForError( structIt->second.extendedBy.insert( s.first ).second,
12947 structIt->second.xmlLine,
12948 "struct <" + structIt->first + "> already extended by <" + extends + ">" );
12949 }
12950 }
12951}
12952
12953void VulkanHppGenerator::mergeInternalFeatures()
12954{

Callers

nothing calls this directly

Calls 2

findByNameOrAliasFunction · 0.85
checkForErrorFunction · 0.85

Tested by

no test coverage detected