summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/clang/lib/CodeGen/CodeGenTBAA.cpp
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2015-11-18 23:32:29 +0000
committerrodrigc <rodrigc@FreeBSD.org>2015-11-18 23:32:29 +0000
commit0faa3804ef530c877c8f6dfaa3a75937bd5cb1c1 (patch)
tree5a5e32204f4c07db711039f190bb5c152599f8fd /contrib/llvm/tools/clang/lib/CodeGen/CodeGenTBAA.cpp
parentf133998d4f5495d55375e081bb5ce826f1f43e73 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud