[clang-tools-extra] [clang-doc][nfc] Avoid constructing SmallString in ToString method (PR #96921)

Paul Kirth via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 28 16:17:21 PDT 2024


================
@@ -56,7 +56,7 @@ class HTMLTag {
   operator bool() = delete;
 
   bool IsSelfClosing() const;
-  llvm::SmallString<16> ToString() const;
+  const char* toString() const;
----------------
ilovepi wrote:

done

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


More information about the cfe-commits mailing list