================ @@ -64,11 +64,19 @@ class Serializer { /// This struct can be extended as needed to add additional configuration /// points specific to a vendor's implementation. struct Config { - virtual ~Config() = default; +#ifdef LLVM_ENABLE_TELEMETRY + static const bool BuildTimeEnableTelemetry = true; +#else + static const bool BuildTimeEnableTelemetry = false; +#endif ---------------- labath wrote:
.. then this can be ```suggestion static const bool BuildTimeEnableTelemetry = LLVM_ENABLE_TELEMETRY; ``` https://github.com/llvm/llvm-project/pull/128534 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits