summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2020-12-21 13:50:09 +0100
committerJan Svoboda <jan_svoboda@apple.com>2020-12-22 14:45:29 +0100
commitbef9eb84b2fb17b22ca771c8c5c34a85f141168d (patch)
tree2fa768846841b4c179b2e814b705e70da15eefa9 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent31b67d2debd43b9854248b853a52ea989c7322a0 (diff)
[clang] NFC: Refactor custom class into a lambda in CompilerInvocation
Change `makeFlagToValueNormalizer` so that one specialization converts all integral/enum arguments into `uint64_t` and forwards them to the more generic version. This makes it easy to replace the custom `FlagToValueNormalizer` struct with a lambda, which is the common approach in other (de)normalizers. Finally, drop custom `is_int_convertbile` in favor of `llvm::is_integral_or_enum`. Reviewed By: dexonsmith Differential Revision: https://reviews.llvm.org/D93628
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions