forked from OSchip/llvm-project
[NFCI] update formating for misleading indentation warning
Reviewers: xbolva00 Reviewed By: xbolva00 Differential Revision: https://reviews.llvm.org/D70861
This commit is contained in:
parent
3953540d8b
commit
2f96047275
|
@ -2532,8 +2532,7 @@ MallocChecker::LeakInfo MallocChecker::getAllocationSite(const ExplodedNode *N,
|
|||
const VarRegion *VR = MR->getBaseRegion()->getAs<VarRegion>();
|
||||
// Do not show local variables belonging to a function other than
|
||||
// where the error is reported.
|
||||
if (!VR ||
|
||||
(VR->getStackFrame() == LeakContext->getStackFrame()))
|
||||
if (!VR || (VR->getStackFrame() == LeakContext->getStackFrame()))
|
||||
ReferenceRegion = MR;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue