MCPcopy Create free account
hub / github.com/KDE/kdevelop / foreach

Function foreach

plugins/qmakemanager/parser/main.cpp:38–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 const bool debug = parser.isSet(QLatin1String("debug"));
37
38 foreach (const auto arg, parser.positionalArguments()) {
39 QMake::Driver driver;
40 if (!driver.readFile(arg)) {
41 exit(EXIT_FAILURE);
42 }
43 driver.setDebug(debug);
44
45 QMake::ProjectAST* ast = nullptr;
46 if (!driver.parse(&ast)) {
47 exit(EXIT_FAILURE);
48 }
49 }
50 return EXIT_SUCCESS;
51}

Callers

nothing calls this directly

Calls 3

readFileMethod · 0.80
setDebugMethod · 0.80
parseMethod · 0.45

Tested by

no test coverage detected