https://github.com/usx95 created https://github.com/llvm/llvm-project/pull/172696
None >From cca7984e43e43d1de8eda678e0b1043a33084bce Mon Sep 17 00:00:00 2001 From: Utkarsh Saxena <[email protected]> Date: Wed, 17 Dec 2025 17:12:37 +0000 Subject: [PATCH] fix-opt-build --- clang/lib/Analysis/LifetimeSafety/LifetimeSafety.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clang/lib/Analysis/LifetimeSafety/LifetimeSafety.cpp b/clang/lib/Analysis/LifetimeSafety/LifetimeSafety.cpp index 50111f8ef1fba..c0fa640a8ba66 100644 --- a/clang/lib/Analysis/LifetimeSafety/LifetimeSafety.cpp +++ b/clang/lib/Analysis/LifetimeSafety/LifetimeSafety.cpp @@ -31,6 +31,7 @@ namespace clang::lifetimes { namespace internal { +#ifndef NDEBUG static void DebugOnlyFunction(AnalysisDeclContext &AC, const CFG &Cfg, FactManager &FactMgr) { std::string Name; @@ -43,6 +44,7 @@ static void DebugOnlyFunction(AnalysisDeclContext &AC, const CFG &Cfg, /*ShowColors=*/true)); DEBUG_WITH_TYPE(Name.c_str(), FactMgr.dump(Cfg, AC)); } +#endif LifetimeSafetyAnalysis::LifetimeSafetyAnalysis(AnalysisDeclContext &AC, LifetimeSafetyReporter *Reporter) _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
