================
@@ -278,6 +247,16 @@ static void serializeInfo(const ConstraintInfo &I, Object
&Obj) {
Obj["Expression"] = I.ConstraintExpr;
}
+static void serializeInfo(const std::vector<TemplateParamInfo> &Params,
----------------
ilovepi wrote:
```suggestion
static void serializeInfo(ArrayRef<TemplateParamInfo> Params,
```
This should be more flexible, and will work with any kind of vector like
container we use, like if we ever used SmallVector<T>.
https://github.com/llvm/llvm-project/pull/145595
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits