[llvm] 2ddfb61 - [Demangle] fix comment NFC

Nick Desaulniers via llvm-commits llvm-commits at lists.llvm.org
Mon May 15 14:33:30 PDT 2023


Author: Nick Desaulniers
Date: 2023-05-15T14:33:14-07:00
New Revision: 2ddfb6161f1d7dd3f253fe44939a3ac6491da8e6

URL: https://github.com/llvm/llvm-project/commit/2ddfb6161f1d7dd3f253fe44939a3ac6491da8e6
DIFF: https://github.com/llvm/llvm-project/commit/2ddfb6161f1d7dd3f253fe44939a3ac6491da8e6.diff

LOG: [Demangle] fix comment NFC

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

Added: 
    

Modified: 
    llvm/include/llvm/Demangle/Demangle.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Demangle/Demangle.h b/llvm/include/llvm/Demangle/Demangle.h
index f41fdc2c0cba3..7dfe609f7b400 100644
--- a/llvm/include/llvm/Demangle/Demangle.h
+++ b/llvm/include/llvm/Demangle/Demangle.h
@@ -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


        


More information about the llvm-commits mailing list