[PATCH] D22642: CodeGen: Clean up implementation of vtable initializer builder. NFC.

Peter Collingbourne via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 21 12:30:32 PDT 2016


pcc created this revision.
pcc added a reviewer: rsmith.
pcc added a subscriber: cfe-commits.

- Simplify signature of CreateVTableInitializer function.
- Move vtable component builder to a separate function.
- Remove unnecessary accessors from VTableLayout class.

This is in preparation for a future change that will alter the type of the
vtable initializer.

https://reviews.llvm.org/D22642

Files:
  include/clang/AST/VTableBuilder.h
  lib/CodeGen/CGVTables.cpp
  lib/CodeGen/CGVTables.h
  lib/CodeGen/ItaniumCXXABI.cpp
  lib/CodeGen/MicrosoftCXXABI.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22642.64940.patch
Type: text/x-patch
Size: 16207 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160721/faa9351f/attachment-0001.bin>


More information about the cfe-commits mailing list