================
@@ -12,6 +12,10 @@
let Component = "Parse" in {
let CategoryName = "Parse Issue" in {
+def err_contracts_require_cxx26 : Error<"contracts are a C++26 feature">;
+def err_contracts_disabled : Error<
+ "contracts support is disabled; pass '-fcontracts' to enable it">;
----------------
ChuanqiXu9 wrote:
I don't think so as we didn't do this before. And we actually didn't want end
users to use this until we make it a ClangOption. And people who understand it
will use `-Xclang` actually. So i don't think we need that.
https://github.com/llvm/llvm-project/pull/221139
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits