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

Samarth Narang via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 1 16:07:36 PDT 2025


================
@@ -26,6 +26,66 @@
 namespace clang {
 namespace doc {
 
+CommentKind stringToCommentKind(llvm::StringRef KindStr) {
+  if (KindStr == "FullComment")
+    return CommentKind::CK_FullComment;
----------------
snarang181 wrote:

Updated the function to do a `StringMap` lookup. 

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


More information about the cfe-commits mailing list