MCPcopy Create free account
hub / github.com/dfranx/ShaderDebugger / UpdateFirstTokenLine

Method UpdateFirstTokenLine

libs/wgtcc/cpp.cc:911–915  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

909
910
911 void Preprocessor::UpdateFirstTokenLine(TokenSequence ts) {
912 auto loc = ts.Peek()->loc_;
913 loc.line_ = curLine_ + loc.line_ - lineLine_ - 1;
914 ts.UpdateHeadLocation(loc);
915 }
916
917
918 TokenSequence Macro::RepSeq(const std::string* filename, unsigned line) {

Callers

nothing calls this directly

Calls 2

UpdateHeadLocationMethod · 0.80
PeekMethod · 0.45

Tested by

no test coverage detected