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

Method setLine

glslang/MachineIndependent/Scan.h:164–168  ·  view source on GitHub ↗

for #line override

Source from the content-addressed store, hash-verified

162
163 // for #line override
164 void setLine(int newLine)
165 {
166 logicalSourceLoc.line = newLine;
167 loc[getLastValidSourceIndex()].line = newLine;
168 }
169
170 // for #line override in filename based parsing
171 void setFile(const char* filename)

Callers 2

setCurrentLineMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected