================
@@ -9499,24 +9509,24 @@ ComputeDefaultedComparisonExceptionSpec(Sema &S,
SourceLocation Loc,
return ExceptSpec;
}
-//===----------------------------------------------------------------------===//
+static Sema::ImplicitExceptionSpecification
+ComputeDefaultedComparisonExceptionSpec(Sema &S, SourceLocation Loc,
+ FunctionDecl *FD,
+ DefaultedComparisonKind DCK) {
+ return computeExceptionSpecFromSynthesizedBody(
+ S, Loc, FD, [&](SourceLocation BodyLoc) {
----------------
Sirraide wrote:
Same here
https://github.com/llvm/llvm-project/pull/229560
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits