Skip to content
Commit cac27a54 authored by Chris Lattner's avatar Chris Lattner
Browse files

Fix a bug/missing-feature Ted noticed: the 'unused' warning should not

warn about the last stmt in a stmtexpr, f.e. there should be no warning for:

int maxval_stmt_expr(int x, int y) {
  return ({int _a = x, _b = y; _a > _b ? _a : _b; });
}

llvm-svn: 41655
parent 7f7dd760
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment