MCPcopy Create free account
hub / github.com/Kitware/CMake / FromListFileFunction

Method FromListFileFunction

Source/cmListFileCache.h:151–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149 }
150
151 static cmListFileContext FromListFileFunction(
152 cmListFileFunction const& lff, std::string const& fileName,
153 cm::optional<std::string> deferId = {})
154 {
155 cmListFileContext lfc;
156 lfc.FilePath = fileName;
157 lfc.Line = lff.Line();
158 lfc.Name = lff.OriginalName();
159 lfc.DeferId = std::move(deferId);
160 return lfc;
161 }
162};
163
164std::ostream& operator<<(std::ostream&, cmListFileContext const&);

Callers

nothing calls this directly

Calls 2

moveFunction · 0.85
LineMethod · 0.80

Tested by

no test coverage detected