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

Method DumpLanguageStandard

Source/cmFileAPICodemodel.cxx:2001–2013  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1999}
2000
2001Json::Value Target::DumpLanguageStandard(JBTs<std::string> const& standard)
2002{
2003 Json::Value languageStandard = Json::objectValue;
2004 languageStandard["standard"] = standard.Value;
2005 if (!standard.Backtraces.empty()) {
2006 Json::Value backtraces = Json::arrayValue;
2007 for (JBTIndex backtrace : standard.Backtraces) {
2008 backtraces.append(backtrace.Index);
2009 }
2010 languageStandard["backtraces"] = backtraces;
2011 }
2012 return languageStandard;
2013}
2014
2015Json::Value Target::DumpDefine(JBT<std::string> const& def)
2016{

Callers 1

DumpCompileDataMethod · 0.95

Calls 2

appendMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected