[PATCH] D57086: Ignore trailing NullStmts in StmtExprs for GCC compatibility

Dominic Ferreira via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 4 17:13:43 PST 2019


domdom updated this revision to Diff 185196.
domdom added a comment.

Switched  getIndexOfLastNonNullStmt to return Optional<unsigned> instead of Stmt* as per comments.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57086/new/

https://reviews.llvm.org/D57086

Files:
  clang/include/clang/AST/Stmt.h
  clang/lib/CodeGen/CGStmt.cpp
  clang/lib/Parse/ParseStmt.cpp
  clang/lib/Sema/SemaExpr.cpp
  clang/test/AST/ast-dump-stmt.c
  clang/test/CodeGen/exprs.c
  clang/test/Sema/statements.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57086.185196.patch
Type: text/x-patch
Size: 9598 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190205/a888d48f/attachment.bin>


More information about the cfe-commits mailing list