forked from OSchip/llvm-project
[Attr] [NFC] Revert accidental change from r327405
llvm-svn: 329005
This commit is contained in:
parent
af95629deb
commit
a6555114c8
|
@ -1231,7 +1231,7 @@ MallocChecker::MallocMemReturnsAttr(CheckerContext &C, const CallExpr *CE,
|
|||
if (Att->getModule() != II_malloc)
|
||||
return nullptr;
|
||||
|
||||
ParamIdx *I = Att->args_begin(), *E = Att->args_end();
|
||||
OwnershipAttr::args_iterator I = Att->args_begin(), E = Att->args_end();
|
||||
if (I != E) {
|
||||
return MallocMemAux(C, CE, CE->getArg(I->getASTIndex()), UndefinedVal(),
|
||||
State);
|
||||
|
|
Loading…
Reference in New Issue