[PATCH] D13946: Shrink DynTypedNode by one pointer from 40 to 32 bytes (on x86_64).

Benjamin Kramer via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 21 09:07:42 PDT 2015


bkramer updated this revision to Diff 38023.
bkramer added a comment.

Update casts to avoid potential undefined behavior. Now every pointer goes through const void*.


http://reviews.llvm.org/D13946

Files:
  include/clang/AST/ASTTypeTraits.h
  unittests/ASTMatchers/Dynamic/RegistryTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13946.38023.patch
Type: text/x-patch
Size: 5138 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151021/c7693385/attachment.bin>


More information about the cfe-commits mailing list