diff options
author | Sergej Jaskiewicz <jaskiewiczs@icloud.com> | 2019-12-06 22:17:34 +0300 |
---|---|---|
committer | Sergej Jaskiewicz <jaskiewiczs@icloud.com> | 2019-12-11 02:37:13 +0300 |
commit | 44c167ace998b41b7f8cbe6acd283c8ba9b0b5a3 (patch) | |
tree | 552084c8e156fdab7004fb4ecdf7597a67a21c57 /llvm/lib/Transforms/Utils/Local.cpp | |
parent | f387b99745101d5843d397a2a65dc4102c6f8e14 (diff) | |
download | llvm-44c167ace998b41b7f8cbe6acd283c8ba9b0b5a3.zip llvm-44c167ace998b41b7f8cbe6acd283c8ba9b0b5a3.tar.gz llvm-44c167ace998b41b7f8cbe6acd283c8ba9b0b5a3.tar.bz2 |
[libcxx] Replace func_name with __name__ for compatibility with Python 3
Summary:
The __name__ attribute is the correct way to get a function name in
Python 3. This also works with Python 2.
Reviewers: jroelofs, EricWF
Subscribers: christof, ldionne, libcxx-commits
Tags: #libc
Differential Revision: https://reviews.llvm.org/D71136
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions