llvm-project/lldb/test/functionalities/data-formatter/varscript_formatting/helperfunc.py

6 lines
142 B
Python

import lldb
def f(value,d):
return "pointer type" if value.GetType().GetTemplateArgumentType(0).IsPointerType() else "non-pointer type"