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

Method IncludeSource

libs/wgtcc/cpp.cc:789–797  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

787 is.begin_ = ts.begin_;
788 }
789 void Preprocessor::IncludeSource(TokenSequence& is, const std::string* src, const std::string* filename)
790 {
791 TokenSequence ts{ is.tokList_, is.begin_, is.begin_ };
792 Scanner scanner(src, filename);
793 scanner.Tokenize(ts);
794
795 // We done including header file
796 is.begin_ = ts.begin_;
797 }
798
799
800 static std::string GetDir(const std::string& path) {

Callers

nothing calls this directly

Calls 1

TokenizeMethod · 0.80

Tested by

no test coverage detected