| 58 | } |
| 59 | |
| 60 | void CMakeFunctionDesc::addArguments( const QStringList& args, bool addEvenIfEmpty ) |
| 61 | { |
| 62 | if(addEvenIfEmpty && args.isEmpty()) |
| 63 | arguments += CMakeFunctionArgument(); |
| 64 | else { |
| 65 | arguments.reserve(arguments.size() + args.size()); |
| 66 | for (const auto& arg : args) { |
| 67 | CMakeFunctionArgument cmakeArg(arg); |
| 68 | arguments.append(cmakeArg); |
| 69 | } |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | QString CMakeFunctionDesc::writeBack() const |
| 74 | { |
nothing calls this directly
no test coverage detected