Index: compiler-rt/trunk/lib/xray/xray_fdr_logging.cc =================================================================== --- compiler-rt/trunk/lib/xray/xray_fdr_logging.cc +++ compiler-rt/trunk/lib/xray/xray_fdr_logging.cc @@ -523,7 +523,7 @@ } // namespace __xray -static auto Unused = [] { +static auto UNUSED Unused = [] { using namespace __xray; if (flags()->xray_fdr_log) { XRayLogImpl Impl{ Index: compiler-rt/trunk/lib/xray/xray_inmemory_log.cc =================================================================== --- compiler-rt/trunk/lib/xray/xray_inmemory_log.cc +++ compiler-rt/trunk/lib/xray/xray_inmemory_log.cc @@ -129,7 +129,7 @@ } } -static auto Unused = [] { +static auto UNUSED Unused = [] { if (!probeRequiredCPUFeatures()) { Report("Required CPU features missing for XRay instrumentation, not " "installing instrumentation hooks.\n");