summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ValueObject.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-12-13 10:37:33 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2019-12-13 13:41:11 -0800
commit4e26cf2cfb2b140a33ec236153cb2f23b5c44127 (patch)
tree466e768fef375dd038474f91abc4eb255dca93ec /lldb/source/Core/ValueObject.cpp
parent9cb7a1be2a430a50fb5644b3f48d4a1544034fb9 (diff)
downloadbcm5719-llvm-4e26cf2cfb2b140a33ec236153cb2f23b5c44127.tar.gz
bcm5719-llvm-4e26cf2cfb2b140a33ec236153cb2f23b5c44127.zip
[lldb/CMake] Rename LLDB_DISABLE_PYTHON to LLDB_ENABLE_PYTHON
This matches the naming scheme used by LLVM and all the other optional dependencies in LLDB. Differential revision: https://reviews.llvm.org/D71482
Diffstat (limited to 'lldb/source/Core/ValueObject.cpp')
-rw-r--r--lldb/source/Core/ValueObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/ValueObject.cpp b/lldb/source/Core/ValueObject.cpp
index 596de20364a..1dd9a6cf62c 100644
--- a/lldb/source/Core/ValueObject.cpp
+++ b/lldb/source/Core/ValueObject.cpp
@@ -303,7 +303,7 @@ bool ValueObject::UpdateFormatsIfNeeded() {
SetValueFormat(DataVisualization::GetFormat(*this, eNoDynamicValues));
SetSummaryFormat(
DataVisualization::GetSummaryFormat(*this, GetDynamicValueType()));
-#ifndef LLDB_DISABLE_PYTHON
+#if LLDB_ENABLE_PYTHON
SetSyntheticChildren(
DataVisualization::GetSyntheticChildren(*this, GetDynamicValueType()));
#endif
OpenPOWER on IntegriCloud