MCPcopy Create free account
hub / github.com/KhronosGroup/glslang / visitVariableDecl

Method visitVariableDecl

glslang/MachineIndependent/intermOut.cpp:1404–1412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1402}
1403
1404bool TOutputTraverser::visitVariableDecl(TVisit /* visit */, TIntermVariableDecl* node)
1405{
1406 TInfoSink& out = infoSink;
1407
1408 OutputTreeText(out, node, depth);
1409
1410 out.debug << "VarDecl: " << node->getDeclSymbol()->getName() << '\n';
1411 return true;
1412}
1413
1414//
1415// This function is the one to call externally to start the traversal.

Callers 1

traverseMethod · 0.45

Calls 2

OutputTreeTextFunction · 0.85
getDeclSymbolMethod · 0.80

Tested by

no test coverage detected