| 4821 | //----------------------------------------------------------------------------- |
| 4822 | |
| 4823 | void CodeGenerator::InsertConceptConstraint(const llvm::SmallVectorImpl<const Expr*>& constraints, |
| 4824 | const InsertInline insertInline) |
| 4825 | { |
| 4826 | for(OnceTrue first{}; const auto* c : constraints) { |
| 4827 | if(first and (InsertInline::Yes == insertInline)) { |
| 4828 | mOutputFormatHelper.Append(' '); |
| 4829 | } |
| 4830 | |
| 4831 | mOutputFormatHelper.Append(kwRequiresSpace); |
| 4832 | InsertArg(c); |
| 4833 | |
| 4834 | if(InsertInline::No == insertInline) { |
| 4835 | mOutputFormatHelper.AppendNewLine(); |
| 4836 | } |
| 4837 | } |
| 4838 | } |
| 4839 | //----------------------------------------------------------------------------- |
| 4840 | |
| 4841 | // This inserts the requires clause after template<...> |
nothing calls this directly
no test coverage detected