[PATCH] D53717: [AST] Only store the needed data in ForStmt.

Bruno Ricci via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 26 13:04:10 PDT 2018


riccibruno updated this revision to Diff 171340.
riccibruno marked 6 inline comments as done.
riccibruno added a comment.

Add a flag in the output of -ast-dump indicating which sub-statement
the `ForStmt` is storing. This removes the ambiguity in the output
of -ast-dump.


Repository:
  rC Clang

https://reviews.llvm.org/D53717

Files:
  include/clang/AST/Stmt.h
  lib/AST/ASTDumper.cpp
  lib/AST/ASTImporter.cpp
  lib/AST/Stmt.cpp
  lib/Sema/SemaStmt.cpp
  lib/Serialization/ASTReaderStmt.cpp
  lib/Serialization/ASTWriterStmt.cpp
  test/Import/for-stmt/test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53717.171340.patch
Type: text/x-patch
Size: 16813 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181026/4621ad7a/attachment-0001.bin>


More information about the cfe-commits mailing list