[PATCH] D15433: [libcxx] Remove inline/visibility attributes from exported template methods in valarray.

Evgeniy Stepanov via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 10 17:45:51 PST 2015


eugenis added a comment.

Libc++.so does not instantiate valarray for any other types, so this does not add any extra exports.

Definitions valarray members (with types other than size_t) will now be exported from user code. This looks like a positive change to me:

- these methods are already part of the ABI due to the exported template valarray<size_t>
- exported vs hidden/internal can produce smaller code


Repository:
  rL LLVM

http://reviews.llvm.org/D15433





More information about the cfe-commits mailing list