-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce DemangleOptions::simplify_template_parameters()
In a debugger, users may input identifiers containing template parameter values and expect some aspects of the identifer (e.g. the exact type of numeric parameters) to be inferred. For example, given "template <short N> struct X<N>", the debugger should accept "X<3>" and not just "X<(short)3>". A debugger can make this work by canonicalizing incoming identifiers containing template parameter values into this simplified form. When these identifiers are being produced via cpp_demangle, it is more efficient and more reliable to have cpp_demangle itself produce this simplified form.
- Loading branch information
1 parent
4b9da59
commit a4ff4cb
Showing
4 changed files
with
52 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters