]> granicus.if.org Git - clang/commit
[AST][NFC] Add const children() accessors to all AST nodes
authorBruno Ricci <riccibrun@gmail.com>
Fri, 12 Apr 2019 15:36:02 +0000 (15:36 +0000)
committerBruno Ricci <riccibrun@gmail.com>
Fri, 12 Apr 2019 15:36:02 +0000 (15:36 +0000)
commit78607564933f0543d0e9cc402b7652be7ec59b71
tree07ec7550d0b139e1be73cd90d9d4256a38d2373a
parent289230c994d946a75dd1bca18ffedd067939de24
[AST][NFC] Add const children() accessors to all AST nodes

Systematically add the const-qualified version of children()
to all statement/expression nodes. Previously the const-qualified
variant was only defined for some nodes. NFC.

Patch by: Nicolas Manichon

Differential Revision: https://reviews.llvm.org/D60029

Reviewed By: riccibruno

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358288 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Expr.h
include/clang/AST/ExprCXX.h
include/clang/AST/ExprObjC.h
include/clang/AST/ExprOpenMP.h
include/clang/AST/OpenMPClause.h
include/clang/AST/Stmt.h
include/clang/AST/StmtCXX.h
include/clang/AST/StmtObjC.h
include/clang/AST/StmtOpenMP.h
lib/AST/ExprObjC.cpp
lib/AST/Stmt.cpp