[PATCH] D68756: [libc++][test] Change IsSmallObject's calculation for std::any's small object buffer

Casey Carter via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 9 18:59:18 PDT 2019


CaseyCarter marked an inline comment as done.
CaseyCarter added inline comments.


================
Comment at: libcxx/test/support/any_helpers.h:24
     : public std::integral_constant<bool
-        , sizeof(T) <= (sizeof(void*)*3)
+        , sizeof(T) <= sizeof(std::any) - sizeof(void*)
           && std::alignment_of<void*>::value
----------------
I have no idea why this line is highlighted: there are no changes on this line in the diff I submitted, the line endings are plain LF, ... :shrug:


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68756/new/

https://reviews.llvm.org/D68756





More information about the cfe-commits mailing list