[PATCH] D53714: [AST] Only store the needed data in SwitchStmt.

Bruno Ricci via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 26 12:53:43 PDT 2018


riccibruno updated this revision to Diff 171337.
riccibruno added a reviewer: rsmith.
riccibruno added a comment.

Add a flag to the output of -ast-dump indicating which sub-statement
a `SwitchStmt` is storing. This removes the ambiguity in the output
of -ast-dump as per rsmith's comment in https://reviews.llvm.org/D53717.


Repository:
  rC Clang

https://reviews.llvm.org/D53714

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/switch-stmt/test.cpp
  test/Misc/ast-dump-color.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53714.171337.patch
Type: text/x-patch
Size: 19081 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181026/1f1932f8/attachment-0001.bin>


More information about the cfe-commits mailing list