[PATCH] D60029: Add const children() accessors to Stmts

Nicolas Manichon via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 30 06:25:58 PDT 2019


nicolas created this revision.
nicolas added reviewers: bkramer, rsmith.
nicolas added a project: clang.
Herald added a subscriber: cfe-commits.

Exprs already have children() const but not Stmts.
All the changes are very simple, except for `DeclStmt` where I used a `const_cast`.


Repository:
  rC Clang

https://reviews.llvm.org/D60029

Files:
  clang/include/clang/AST/Stmt.h
  clang/lib/AST/Stmt.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60029.192972.patch
Type: text/x-patch
Size: 8152 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190330/87abaed7/attachment.bin>


More information about the cfe-commits mailing list