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

Method Reparse

Source/cmVisualStudioGeneratorOptions.cxx:288–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286}
287
288void cmVisualStudioGeneratorOptions::Reparse(std::string const& key)
289{
290 auto i = this->FlagMap.find(key);
291 if (i == this->FlagMap.end() || i->second.size() != 1) {
292 return;
293 }
294 std::string const original = i->second[0];
295 i->second[0] = "";
296 this->UnknownFlagField = key;
297 this->Parse(original);
298}
299
300void cmVisualStudioGeneratorOptions::StoreUnknownFlag(std::string const& flag)
301{

Callers 1

ComputeCudaOptionsMethod · 0.80

Calls 4

ParseMethod · 0.95
findMethod · 0.45
endMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected