diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2015-11-18 23:32:29 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2015-11-18 23:32:29 +0000 |
commit | 0faa3804ef530c877c8f6dfaa3a75937bd5cb1c1 (patch) | |
tree | 5a5e32204f4c07db711039f190bb5c152599f8fd /contrib/llvm/tools/clang/lib/CodeGen/CodeGenTBAA.cpp | |
parent | f133998d4f5495d55375e081bb5ce826f1f43e73 (diff) | |
download | FreeBSD-src-0faa3804ef530c877c8f6dfaa3a75937bd5cb1c1.zip FreeBSD-src-0faa3804ef530c877c8f6dfaa3a75937bd5cb1c1.tar.gz |
Use 'in' instead of 'has_key()' for testing dictionary membership.
In PEP 0290, has_key() was deprecated in Python 2.2 and higher:
https://www.python.org/dev/peps/pep-0290/#testing-dictionary-membership
https://docs.python.org/2.2/whatsnew/node4.html
In Python 3, dict.has_key() was removed:
https://docs.python.org/3.0/whatsnew/3.0.html#builtins
Diffstat (limited to 'contrib/llvm/tools/clang/lib/CodeGen/CodeGenTBAA.cpp')
0 files changed, 0 insertions, 0 deletions