diff options
| author | Chris Lattner <sabre@nondot.org> | 2007-08-31 21:49:55 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2007-08-31 21:49:55 +0000 |
| commit | cac27a5478831d8162cc81a06e33e8aa1f1e7a45 (patch) | |
| tree | ea24a14f511d1d25c8bc368d18f1fdad51ebd1ba /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 7f7dd7602ca2bc070af989a7a7c9cc5da2c9064d (diff) | |
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
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
