================ @@ -256,14 +256,14 @@ struct APIRecord { APIRecord() = delete; APIRecord(RecordKind Kind, StringRef USR, StringRef Name, - PresumedLoc Location, AvailabilitySet Availabilities, + PresumedLoc Location, const AvailabilityInfo &Availability, ---------------- daniel-grumberg wrote:
Can you keep this as a value and bring back the `std::move` below, this allows to prevent unnecessary copies. https://github.com/llvm/llvm-project/pull/76823 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits