[PATCH] D48873: [AST] Use llvm::TrailingObjects in clang::CXXTryStmt

Bruno Ricci via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 3 04:38:52 PDT 2018


bricci created this revision.
bricci added a reviewer: rsmith.
bricci added a project: clang.
Herald added a subscriber: cfe-commits.

Use TrailingObjects for CXXTryStmt instead of hand-rolling it.
This hides the reinterpret_casts and make it more consistent with the other classes.


Repository:
  rC Clang

https://reviews.llvm.org/D48873

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48873.153893.patch
Type: text/x-patch
Size: 3865 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180703/fe5dd13b/attachment.bin>


More information about the cfe-commits mailing list