[libcxx-commits] [PATCH] D58022: __builtin_strlen is not supported for MSVC e.g and it is not correct to use it without knowledge of this "builtin" in advance

Danila Kutenin via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Feb 10 23:49:12 PST 2019


danlark added a comment.

In D58022#1392318 <https://reviews.llvm.org/D58022#1392318>, @EricWF wrote:

> MSVC on godbolt provides a constexpr `__builtin_strlen`. https://godbolt.org/z/n_3vRY


I believe it is supported from C++17 --
https://godbolt.org/z/8xsDxu -- C++17
https://godbolt.org/z/SNUPsj -- C++14


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

https://reviews.llvm.org/D58022





More information about the libcxx-commits mailing list