[llvm-branch-commits] [clang-tools-extra] [clang-doc] add support for concepts (PR #144430)

Paul Kirth via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jun 20 10:00:55 PDT 2025


================
@@ -817,6 +872,20 @@ llvm::Error ClangDocBitcodeReader::readSubBlock(unsigned ID, T I) {
     addChild(I, std::move(TI));
     return llvm::Error::success();
   }
+  case BI_CONSTRAINT_BLOCK_ID: {
+    ConstraintInfo CI;
+    if (auto Err = readBlock(ID, &CI))
+      return Err;
+    addConstraint(I, std::move(CI));
+    return llvm::Error::success();
+  }
----------------
ilovepi wrote:

We should have a helper to avoid this kind of boilerplate that can take a callable. Not for this patch, though. If you wouldn't mind, please add a TODO, or file an issue.

https://github.com/llvm/llvm-project/pull/144430


More information about the llvm-branch-commits mailing list