diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2019-10-02 17:18:57 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2019-10-02 17:18:57 +0000 |
commit | b879fd05bd7628cfb27d8e127dc8751389dcd1d7 (patch) | |
tree | 7ee81f7e1c5ba7aaa03d83f3972a2f0b6974e792 /lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py | |
parent | eb6700b57e969e75014394a02e8130542f3f6457 (diff) | |
download | bcm5719-llvm-b879fd05bd7628cfb27d8e127dc8751389dcd1d7.tar.gz bcm5719-llvm-b879fd05bd7628cfb27d8e127dc8751389dcd1d7.zip |
Add the misc-init-local-variables check.
This checks finds all primitive type local variables (integers, doubles, pointers) that are declared without an initial value. Includes fixit functionality to initialize said variables with a default value. This is zero for most types and NaN for floating point types. The use of NaNs is copied from the D programming language.
Patch by Jussi Pakkanen.
llvm-svn: 373489
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py')
0 files changed, 0 insertions, 0 deletions