We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 361a564 commit 013637aCopy full SHA for 013637a
llvm/include/llvm/Telemetry/Telemetry.h
@@ -64,11 +64,7 @@ class Serializer {
64
/// This struct can be extended as needed to add additional configuration
65
/// points specific to a vendor's implementation.
66
struct Config {
67
-#ifdef LLVM_ENABLE_TELEMETRY
68
- static const bool BuildTimeEnableTelemetry = true;
69
-#else
70
- static const bool BuildTimeEnableTelemetry = false;
71
-#endif
+ static const bool BuildTimeEnableTelemetry = LLVM_ENABLE_TELEMETRY;
72
virtual ~Config() : EnableTelemetry(BuildTimeEnableTelemetry) {}
73
74
// If true, telemetry will be enabled.
0 commit comments