diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-06-25 20:48:44 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-06-25 20:48:44 +0000 |
commit | 396f18f30218a0c3474dc48b88b999613ad7dcdf (patch) | |
tree | 03dbf26fad205a2fdd196ebaf40ec9297527e2e9 /lldb/scripts/Python/python-wrapper.swig | |
parent | 198337bf4200dd9d33c6223fc8ce5a488e60187f (diff) | |
download | llvm-396f18f30218a0c3474dc48b88b999613ad7dcdf.zip llvm-396f18f30218a0c3474dc48b88b999613ad7dcdf.tar.gz llvm-396f18f30218a0c3474dc48b88b999613ad7dcdf.tar.bz2 |
[modules] Fix findDirectiveAtLoc to not call a member function on a null pointer.
This is exercised by existing tests, and fixes a failure with -fsanitize=null.
No observable change otherwise; the code happened to do the right thing in
practice under recent versions of Clang and GCC because
MacroDirective::getDefinition happens to check whether this == null.
llvm-svn: 240691
Diffstat (limited to 'lldb/scripts/Python/python-wrapper.swig')
0 files changed, 0 insertions, 0 deletions