forked from OSchip/llvm-project
Use direct assignment instead of user defined conversion.
llvm-svn: 101236
This commit is contained in:
parent
91ea6ac3e9
commit
b5e94ac97d
|
@ -1719,10 +1719,10 @@ CFGBlock* CFGBuilder::VisitCXXCatchStmt(CXXCatchStmt* CS) {
|
|||
|
||||
CFGBlock *CFGBuilder::VisitCXXMemberCallExpr(CXXMemberCallExpr *C,
|
||||
AddStmtChoice asc) {
|
||||
AddStmtChoice asc2 = asc.asLValue() ? AddStmtChoice::AlwaysAddAsLValue
|
||||
: AddStmtChoice::AlwaysAdd;
|
||||
AddStmtChoice::Kind K = asc.asLValue() ? AddStmtChoice::AlwaysAddAsLValue
|
||||
: AddStmtChoice::AlwaysAdd;
|
||||
autoCreateBlock();
|
||||
AppendStmt(Block, C, asc2);
|
||||
AppendStmt(Block, C, AddStmtChoice(K));
|
||||
return VisitChildren(C);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue