[PATCH] D70638: [Diagnostic] add a warning which warns about misleading indentation
Dávid Bolvanský via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 29 07:29:15 PST 2019
xbolva00 added a comment.
Please land code fixes as NFC patch and then try to reland this patch.
================
Comment at: clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:2532
+ if (Val.getAsLocSymbol() == Sym) {
+ const VarRegion *VR = MR->getBaseRegion()->getAs<VarRegion>();
+ // Do not show local variables belonging to a function other than
----------------
Please land as separated NFCI commit.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70638/new/
https://reviews.llvm.org/D70638
More information about the cfe-commits
mailing list