[clang-tools-extra] Refactor clang doc comment structure (PR #142273)

Paul Kirth via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 5 11:13:37 PDT 2025


================
@@ -316,8 +316,13 @@ static llvm::Error parseRecord(const Record &R, unsigned ID,
 static llvm::Error parseRecord(const Record &R, unsigned ID,
                                llvm::StringRef Blob, CommentInfo *I) {
   switch (ID) {
-  case COMMENT_KIND:
-    return decodeRecord(R, I->Kind, Blob);
+  case COMMENT_KIND: {
----------------
ilovepi wrote:

I think we can drop the braces here to match the existing convention.

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


More information about the cfe-commits mailing list