[PATCH] D72136: Add gdb pretty printer for MutableArrayRef, remove ConstArrayRef.
Christian Sigg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 9 13:51:16 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG0f5f28d000f7: Add gdb pretty printer for MutableArrayRef, remove ConstArrayRef. (authored by csigg).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72136/new/
https://reviews.llvm.org/D72136
Files:
llvm/utils/gdb-scripts/prettyprinters.py
Index: llvm/utils/gdb-scripts/prettyprinters.py
===================================================================
--- llvm/utils/gdb-scripts/prettyprinters.py
+++ llvm/utils/gdb-scripts/prettyprinters.py
@@ -319,7 +319,7 @@
pp.add_printer('llvm::SmallString', '^llvm::SmallString<.*>$', SmallStringPrinter)
pp.add_printer('llvm::StringRef', '^llvm::StringRef$', StringRefPrinter)
pp.add_printer('llvm::SmallVectorImpl', '^llvm::SmallVector(Impl)?<.*>$', SmallVectorPrinter)
-pp.add_printer('llvm::ArrayRef', '^llvm::(Const)?ArrayRef<.*>$', ArrayRefPrinter)
+pp.add_printer('llvm::ArrayRef', '^llvm::(Mutable)?ArrayRef<.*>$', ArrayRefPrinter)
pp.add_printer('llvm::Expected', '^llvm::Expected<.*>$', ExpectedPrinter)
pp.add_printer('llvm::Optional', '^llvm::Optional<.*>$', OptionalPrinter)
pp.add_printer('llvm::DenseMap', '^llvm::DenseMap<.*>$', DenseMapPrinter)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72136.237189.patch
Type: text/x-patch
Size: 872 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200109/cba09ffe/attachment.bin>
More information about the llvm-commits
mailing list