[Demangle] fix comment NFC
authorNick Desaulniers <ndesaulniers@google.com>
Mon, 15 May 2023 21:32:38 +0000 (14:32 -0700)
committerNick Desaulniers <ndesaulniers@google.com>
Mon, 15 May 2023 21:33:14 +0000 (14:33 -0700)
The second and third parameter of itaniumDemangle were removed in
commit 7277a72b908d ("[Demangle] remove unused params of itaniumDemangle")
Update a comment to reflect this.

Reviewed By: nathanchance

Differential Revision: https://reviews.llvm.org/D149975

llvm/include/llvm/Demangle/Demangle.h

index f41fdc2..7dfe609 100644 (file)
@@ -83,7 +83,7 @@ struct ItaniumPartialDemangler {
   bool partialDemangle(const char *MangledName);
 
   /// Just print the entire mangled name into Buf. Buf and N behave like the
-  /// second and third parameters to itaniumDemangle.
+  /// second and third parameters to __cxa_demangle.
   char *finishDemangle(char *Buf, size_t *N) const;
 
   /// Get the base name of a function. This doesn't include trailing template