[llvm] c4a35c7 - [llvm-cxxfilt] Add description for --types in help text

via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 14 02:34:36 PDT 2022


Author: gbreynoo
Date: 2022-06-14T10:32:56+01:00
New Revision: c4a35c78aab23ede52671fb3dab9124fe466151b

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

LOG: [llvm-cxxfilt] Add description for --types in help text

It appears that in the move to tablegen the description of --types was
lost:
https://reviews.llvm.org/D105605

This change adds the missing description.

Differential revision: https://reviews.llvm.org/D127656

Added: 
    

Modified: 
    llvm/tools/llvm-cxxfilt/Opts.td

Removed: 
    


################################################################################
diff  --git a/llvm/tools/llvm-cxxfilt/Opts.td b/llvm/tools/llvm-cxxfilt/Opts.td
index 93f865245fe6c..f652a1a7f88bb 100644
--- a/llvm/tools/llvm-cxxfilt/Opts.td
+++ b/llvm/tools/llvm-cxxfilt/Opts.td
@@ -16,7 +16,7 @@ multiclass Eq<string name, string help> {
 
 def help : FF<"help", "Display this help">;
 defm strip_underscore : BB<"strip-underscore", "Strip the leading underscore", "Don't strip the leading underscore">;
-def types : FF<"types", "">;
+def types : FF<"types", "Attempt to demangle types as well as function names">;
 def version : FF<"version", "Display the version">;
 
 defm : Eq<"format", "Specify mangling format. Currently ignored because only 'gnu' is supported">;


        


More information about the llvm-commits mailing list