forked from OSchip/llvm-project
Cleanup dead assignments reported by scan-build
llvm-svn: 204569
This commit is contained in:
parent
561e0dce59
commit
6756a497a1
|
@ -3120,9 +3120,6 @@ static Value *packTBLDVectorList(CodeGenFunction &CGF, ArrayRef<Value *> Ops,
|
|||
ZeroTbl, SV, Name));
|
||||
}
|
||||
|
||||
TblTy = llvm::VectorType::get(TblTy->getElementType(),
|
||||
2*TblTy->getNumElements());
|
||||
|
||||
Function *TblF;
|
||||
TblOps.push_back(IndexOp);
|
||||
TblF = CGF.CGM.getIntrinsic(IntID, ResTy);
|
||||
|
@ -3190,7 +3187,6 @@ static Value *EmitAArch64TblBuiltinExpr(CodeGenFunction &CGF,
|
|||
Ops.push_back(CGF.EmitScalarExpr(E->getArg(i)));
|
||||
}
|
||||
|
||||
Arg = E->getArg(TblPos);
|
||||
unsigned nElts = VTy->getNumElements();
|
||||
|
||||
// AArch64 scalar builtins are not overloaded, they do not have an extra
|
||||
|
|
|
@ -2933,11 +2933,11 @@ void Parser::ParseLexedObjCMethodDefs(LexedMethod &LM, bool parseMethod) {
|
|||
else
|
||||
Actions.ActOnStartOfFunctionDef(getCurScope(), MCDecl);
|
||||
if (Tok.is(tok::kw_try))
|
||||
MCDecl = ParseFunctionTryBlock(MCDecl, BodyScope);
|
||||
ParseFunctionTryBlock(MCDecl, BodyScope);
|
||||
else {
|
||||
if (Tok.is(tok::colon))
|
||||
ParseConstructorInitializer(MCDecl);
|
||||
MCDecl = ParseFunctionStatementBody(MCDecl, BodyScope);
|
||||
ParseFunctionStatementBody(MCDecl, BodyScope);
|
||||
}
|
||||
|
||||
if (Tok.getLocation() != OrigLoc) {
|
||||
|
|
|
@ -805,8 +805,6 @@ Sema::BuildAnonymousStructUnionMemberReference(const CXXScopeSpec &SS,
|
|||
if (!result)
|
||||
return ExprError();
|
||||
|
||||
baseObjectIsPointer = false;
|
||||
|
||||
// FIXME: check qualified member access
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue