[clang] [C++26] [Contracts] Support Parser, AST and AST Serialization (1/n) (PR #205739)
Yihan Wang via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 25 02:17:21 PDT 2026
================
@@ -1143,6 +1143,43 @@ void ASTDeclReader::VisitFunctionDecl(FunctionDecl *FD) {
Params.push_back(readDeclAs<ParmVarDecl>());
FD->setParams(Reader.getContext(), Params);
+ // C++26 Contracts (P2900R14)
----------------
yronglin wrote:
IIUC, We don't need a proposal number in code? We can use the standard section ID instead.
https://github.com/llvm/llvm-project/pull/205739
More information about the cfe-commits
mailing list