diff options
Diffstat (limited to 'packages/Python/lldbsuite/test/functionalities/data-formatter/varscript_formatting/helperfunc.py')
-rw-r--r-- | packages/Python/lldbsuite/test/functionalities/data-formatter/varscript_formatting/helperfunc.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/Python/lldbsuite/test/functionalities/data-formatter/varscript_formatting/helperfunc.py b/packages/Python/lldbsuite/test/functionalities/data-formatter/varscript_formatting/helperfunc.py new file mode 100644 index 000000000000..01562c5baa8d --- /dev/null +++ b/packages/Python/lldbsuite/test/functionalities/data-formatter/varscript_formatting/helperfunc.py @@ -0,0 +1,5 @@ +import lldb + +def f(value,d): + return "pointer type" if value.GetType().GetTemplateArgumentType(0).IsPointerType() else "non-pointer type" + |