packages/hyperloop-ios-metabase/src/util.cpp
void addBlockIfFound (Definition *definition, CXCursor cursor, CXCursor parent) {
		if (isBlock(cursor)) {
			auto context = definition->getContext();
			auto blockDef = new BlockDefinition(cursor, context);
			blockDef->parse(cursor, parent, context);
		}
	}
/**
	 * add a block if found as a type
	 */
add a block if found as a type
add a block if found as a type
void addBlockIfFound (Definition *definition, CXCursor cursor, CXCursor parent) {
		if (isBlock(cursor)) {
			auto context = definition->getContext();
			auto blockDef = new BlockDefinition(cursor, context);
			blockDef->parse(cursor, parent, context);
		}
	}
void addBlockIfFound ( Definition * definition , CXCursor cursor , CXCursor parent ) { if ( isBlock ( cursor ) ) { auto context = definition -> getContext ( ) ; auto blockDef = new BlockDefinition ( cursor , context ) ; blockDef -> parse ( cursor , parent , context ) ; } }
add a block if found as a type
add a block if found as a type