[PATCH] D50531: [NFC] Convert ParsedAttr to use llvm::TrailingObjects

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 9 13:02:17 PDT 2018


erichkeane created this revision.
erichkeane added reviewers: rjmccall, riccibruno, aaron.ballman.

ParsedAttr is using a hand-rolled trailing-objects
implementation that gets cleaned up quite a bit by
just using llvm::TrailingObjects.  This is a large
TrailingObjects list, but most things are length '0'.


https://reviews.llvm.org/D50531

Files:
  include/clang/Sema/ParsedAttr.h
  lib/Sema/ParsedAttr.cpp
  lib/Sema/SemaDeclCXX.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50531.159980.patch
Type: text/x-patch
Size: 13965 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180809/c0b3048e/attachment.bin>


More information about the cfe-commits mailing list